public abstract class PropertiesChunk extends Chunk
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
chunkId, DEFAULT_NAME_PREFIX, namePrefix, type
Modifier | Constructor and Description |
---|---|
protected |
PropertiesChunk()
Creates a Properties Chunk.
|
Modifier and Type | Method and 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 |
readProperties(java.io.InputStream value) |
protected void |
writeProperties(java.io.OutputStream out) |
getChunkId, getType, readValue, writeValue
public static final java.lang.String NAME
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 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 2013 The Apache Software Foundation or its licensors, as applicable.