public abstract class PropertiesChunk extends Chunk
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
chunkId, DEFAULT_NAME_PREFIX, namePrefix, type| Modifier | Constructor and Description |
|---|---|
protected |
PropertiesChunk(ChunkGroup parentGroup)
Creates a Properties Chunk.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEntryName()
Creates a string to use to identify this chunk in the POI file system object.
|
Map<MAPIProperty,List<PropertyValue>> |
getProperties()
Returns all the properties in the chunk
|
PropertyValue |
getValue(MAPIProperty property)
Returns the (first/only) value for the given property, or
null if none exist
|
List<PropertyValue> |
getValues(MAPIProperty property)
Returns all values for the given property, of null if none exist
|
protected void |
matchVariableSizedPropertiesToChunks()
Called once the parent ChunkGroup has been populated, to match
up the Chunks in it with our Variable Sized Properties.
|
protected void |
readProperties(InputStream value) |
protected void |
writeProperties(OutputStream out) |
getChunkId, getType, readValue, writeValuepublic static final String NAME
protected PropertiesChunk(ChunkGroup parentGroup)
public String getEntryName()
ChunkgetEntryName in class Chunkpublic Map<MAPIProperty,List<PropertyValue>> getProperties()
public List<PropertyValue> getValues(MAPIProperty property)
public PropertyValue getValue(MAPIProperty property)
protected void matchVariableSizedPropertiesToChunks()
protected void readProperties(InputStream value) throws IOException
IOExceptionprotected void writeProperties(OutputStream out) throws IOException
IOExceptionCopyright © 2019. All rights reserved.