public class PropertiesChunk extends Object
MAPIProperty instances.
This file is based on PropertiesChunk.
This class provides a basic implementation to write fixed-length and variable-length
properties to a POIFSFileSystem, but it doesn't handle the other data
such as list properties (since point 2.4.2.2) or GUID/Entry/String streams (point 2.2.3).
Those would be needed to make a more advanced integration with Microsoft Outlook and take
advantage of other features, like appointments, calendars, ...
| Modifier and Type | Field and Description |
|---|---|
static int |
FLAG_READABLE
Flag to set for readable properties.
|
static int |
FLAG_WRITEABLE
Flag to set for writable properties.
|
static String |
PREFIX
Standard prefix of nodes.
|
| Constructor and Description |
|---|
PropertiesChunk() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.poi.hsmf.datatypes.PropertyValue |
getProperty(org.apache.poi.hsmf.datatypes.MAPIProperty property) |
void |
setProperty(org.apache.poi.hsmf.datatypes.PropertyValue value)
Defines a property.
|
void |
writeTo(org.apache.poi.poifs.filesystem.DirectoryEntry directory)
Writes this chunk in the specified
DirectoryEntry. |
public static final String PREFIX
public static final int FLAG_READABLE
public static final int FLAG_WRITEABLE
public void setProperty(org.apache.poi.hsmf.datatypes.PropertyValue value)
public org.apache.poi.hsmf.datatypes.PropertyValue getProperty(org.apache.poi.hsmf.datatypes.MAPIProperty property)
public void writeTo(org.apache.poi.poifs.filesystem.DirectoryEntry directory)
throws IOException
DirectoryEntry.directory - The directory.IOException - If an I/O error occurs.Copyright © 2019. All rights reserved.