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
ConstructorsModifierConstructorDescriptionprotectedChunk(int chunkId, Types.MAPIType type) protectedChunk(String namePrefix, int chunkId, Types.MAPIType type) -
Method Summary
Modifier and TypeMethodDescriptionintGets 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 voidreadValue(InputStream value) Reads the value of this chunk using an InputStreamabstract voidwriteValue(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
-