private class POIFSDocument.BigBlockStore extends Object
Modifier and Type | Field and Description |
---|---|
private DocumentBlock[] |
bigBlocks |
private String |
name |
private POIFSDocumentPath |
path |
private int |
size |
private POIFSWriterListener |
writer |
Constructor and Description |
---|
POIFSDocument.BigBlockStore(Object[] blocks)
Constructor
|
POIFSDocument.BigBlockStore(POIFSDocumentPath path,
String name,
int size,
POIFSWriterListener writer)
Constructor for a big block store that will be written
later
|
Modifier and Type | Method and Description |
---|---|
(package private) int |
countBlocks() |
(package private) int |
getBigBlockSize() |
(package private) DocumentBlock[] |
getBlocks() |
(package private) boolean |
isValid() |
(package private) void |
writeBlocks(OutputStream stream)
write the blocks to a stream
|
private DocumentBlock[] bigBlocks
private POIFSDocumentPath path
private String name
private int size
private POIFSWriterListener writer
POIFSDocument.BigBlockStore(Object[] blocks) throws IOException
blocks
- the blocks making up the storeIOException
- on I/O errorPOIFSDocument.BigBlockStore(POIFSDocumentPath path, String name, int size, POIFSWriterListener writer)
path
- path of the documentname
- name of the documentsize
- length of the documentwriter
- the object that will eventually write the
documentint getBigBlockSize()
boolean isValid()
DocumentBlock[] getBlocks()
void writeBlocks(OutputStream stream) throws IOException
stream
- the stream to which the data is to be writtenIOException
- on errorint countBlocks()
Copyright © 2016 Open Microscopy Environment