Package org.apache.poi.hsmf.datatypes
Class Chunk
java.lang.Object
org.apache.poi.hsmf.datatypes.Chunk
- Direct Known Subclasses:
ByteChunk
,DirectoryChunk
,MessageSubmissionChunk
,PropertiesChunk
,StringChunk
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Chunk
(int chunkId, Types.MAPIType type) protected
Chunk
(String namePrefix, int chunkId, Types.MAPIType type) -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the id of this chunkCreates a string to use to identify this chunk in the POI file system object.getType()
Gets the numeric type of this chunk.abstract void
readValue
(InputStream value) Reads the value of this chunk using an InputStreamabstract void
writeValue
(OutputStream out) Writes the value of this chunk back out again.
-
Field Details
-
DEFAULT_NAME_PREFIX
- See Also:
-
-
Constructor Details
-
Chunk
-
Chunk
-
-
Method Details
-
getChunkId
public int getChunkId()Gets the id of this chunk -
getType
Gets the numeric type of this chunk. -
getEntryName
Creates a string to use to identify this chunk in the POI file system object. -
writeValue
Writes the value of this chunk back out again.- Throws:
IOException
-
readValue
Reads the value of this chunk using an InputStream- Throws:
IOException
-