public class StoragePropertiesChunk extends PropertiesChunk
PropertiesChunk for a Storage Properties, such as Attachments and
Recipients. This only has an 8 byte header.NAME, PROPERTIES_FLAG_READABLE, PROPERTIES_FLAG_WRITEABLE, VARIABLE_LENGTH_PROPERTY_PREFIXDEFAULT_NAME_PREFIX| Constructor and Description |
|---|
StoragePropertiesChunk(ChunkGroup parentGroup) |
| Modifier and Type | Method and Description |
|---|---|
void |
readValue(InputStream stream)
Reads the value of this chunk using an InputStream
|
void |
writePreCalculatedValue(OutputStream out)
Writes out pre-calculated header values which assume any variable length property `data`
field to already have Size and Reserved
|
void |
writeValue(OutputStream out)
Writes the value of this chunk back out again.
|
getEntryName, getMaxRecordLength, getProperties, getRawProperties, getRawValue, getValues, matchVariableSizedPropertiesToChunks, readProperties, setMaxRecordLength, setProperty, writeNodeData, writePreCalculatedProperties, writeProperties, writePropertiesgetChunkId, getTypepublic StoragePropertiesChunk(ChunkGroup parentGroup)
public void readValue(InputStream stream) throws IOException
ChunkreadValue in class ChunkIOExceptionpublic void writeValue(OutputStream out) throws IOException
ChunkwriteValue in class ChunkIOExceptionpublic void writePreCalculatedValue(OutputStream out) throws IOException
out - output stream (calling code must close this stream)IOException - If writing to the stream fails