|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hsmf.datatypes.Chunk
org.apache.poi.hsmf.datatypes.PropertiesChunk
public abstract class PropertiesChunk
A Chunk which holds (single) fixed-length properties, and pointer to the variable length ones / multi-valued ones (which get their own chunk).
There are two kinds of PropertiesChunks, which differ only in their headers.
Field Summary | |
---|---|
static java.lang.String |
NAME
|
Fields inherited from class org.apache.poi.hsmf.datatypes.Chunk |
---|
chunkId, DEFAULT_NAME_PREFIX, namePrefix, type |
Constructor Summary | |
---|---|
protected |
PropertiesChunk(ChunkGroup parentGroup)
Creates a Properties Chunk. |
Method Summary | |
---|---|
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, along with their values. |
java.util.Map<MAPIProperty,PropertyValue> |
getRawProperties()
Returns all the properties in the chunk, without looking up any chunk-based values |
PropertyValue |
getRawValue(MAPIProperty property)
Returns the value / pointer to the value chunk of the property, or null if none exists |
java.util.List<PropertyValue> |
getValues(MAPIProperty property)
Returns all values for the given property, looking up chunk based ones as required, 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)
|
Methods inherited from class org.apache.poi.hsmf.datatypes.Chunk |
---|
getChunkId, getType, readValue, writeValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
Constructor Detail |
---|
protected PropertiesChunk(ChunkGroup parentGroup)
Method Detail |
---|
public java.lang.String getEntryName()
Chunk
getEntryName
in class Chunk
public java.util.Map<MAPIProperty,PropertyValue> getRawProperties()
public java.util.Map<MAPIProperty,java.util.List<PropertyValue>> getProperties()
Returns all the properties in the chunk, along with their values.
Any chunk-based values will be looked up and returned as such
public java.util.List<PropertyValue> getValues(MAPIProperty property)
public PropertyValue getRawValue(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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |