MessagePropertiesChunk
, StoragePropertiesChunk
public abstract class PropertiesChunk extends Chunk
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
NAME |
chunkId, DEFAULT_NAME_PREFIX, namePrefix, type
Modifier | Constructor | Description |
---|---|---|
protected |
PropertiesChunk(ChunkGroup parentGroup) |
Creates a Properties Chunk.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getEntryName() |
Creates a string to use to identify this chunk in the POI file system object.
|
java.util.Map<MAPIProperty,java.util.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
|
java.util.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(java.io.InputStream value) |
|
protected void |
writeProperties(java.io.OutputStream out) |
getChunkId, getType, readValue, writeValue
public static final java.lang.String NAME
protected PropertiesChunk(ChunkGroup parentGroup)
public java.lang.String getEntryName()
Chunk
getEntryName
in class Chunk
public java.util.Map<MAPIProperty,java.util.List<PropertyValue>> getProperties()
public java.util.List<PropertyValue> getValues(MAPIProperty property)
public PropertyValue getValue(MAPIProperty property)
protected void matchVariableSizedPropertiesToChunks()
protected void readProperties(java.io.InputStream value) throws java.io.IOException
java.io.IOException
protected void writeProperties(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.