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()
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 |
readProperties(InputStream value) |
protected void |
writeProperties(OutputStream out) |
getChunkId, getType, readValue, writeValue
public static final String NAME
public String getEntryName()
Chunk
getEntryName
in class Chunk
public Map<MAPIProperty,List<PropertyValue>> getProperties()
public List<PropertyValue> getValues(MAPIProperty property)
public PropertyValue getValue(MAPIProperty property)
protected void readProperties(InputStream value) throws IOException
IOException
protected void writeProperties(OutputStream out) throws IOException
IOException
Copyright © 2020. All rights reserved.