Package | Description |
---|---|
org.zkoss.poi.poifs.common |
common package contains constants and other classes shared across all POIFS subpackages
Related Documentation
For overviews, tutorials, examples, guides, and tool documentation, please see:
Apache POI Project
|
org.zkoss.poi.poifs.filesystem |
filesystem package maps OLE 2 Compound document files to a more familiar filesystem interface.
|
org.zkoss.poi.poifs.storage |
storage package contains low level binary structures for POIFS's implementation of the OLE 2
Compound Document Format.
|
Modifier and Type | Field and Description |
---|---|
static POIFSBigBlockSize |
POIFSConstants.LARGER_BIG_BLOCK_SIZE_DETAILS |
static POIFSBigBlockSize |
POIFSConstants.SMALLER_BIG_BLOCK_SIZE_DETAILS |
Modifier and Type | Method and Description |
---|---|
POIFSBigBlockSize |
POIFSFileSystem.getBigBlockSizeDetails() |
POIFSBigBlockSize |
NPOIFSFileSystem.getBigBlockSizeDetails() |
Constructor and Description |
---|
POIFSDocument(java.lang.String name,
int size,
POIFSBigBlockSize bigBlockSize,
POIFSDocumentPath path,
POIFSWriterListener writer)
Constructor
|
POIFSDocument(java.lang.String name,
POIFSBigBlockSize bigBlockSize,
java.io.InputStream stream)
Constructor
|
POIFSDocument(java.lang.String name,
POIFSBigBlockSize bigBlockSize,
ListManagedBlock[] blocks,
int length)
Constructor from small blocks
|
Modifier and Type | Method and Description |
---|---|
POIFSBigBlockSize |
SmallDocumentBlock.getBigBlockSize() |
POIFSBigBlockSize |
HeaderBlock.getBigBlockSize() |
Modifier and Type | Method and Description |
---|---|
static int |
BATBlock.calculateMaximumSize(POIFSBigBlockSize bigBlockSize,
int numBATs)
Calculates the maximum size of a file which is addressable given the
number of FAT (BAT) sectors specified.
|
static int |
BATBlock.calculateStorageRequirements(POIFSBigBlockSize bigBlockSize,
int entryCount)
Calculate how many BATBlocks are needed to hold a specified
number of BAT entries.
|
static int |
BATBlock.calculateXBATStorageRequirements(POIFSBigBlockSize bigBlockSize,
int entryCount)
Calculate how many XBATBlocks are needed to hold a specified
number of BAT entries.
|
static SmallDocumentBlock[] |
SmallDocumentBlock.convert(POIFSBigBlockSize bigBlockSize,
BlockWritable[] store,
int size)
Factory for creating SmallDocumentBlocks from DocumentBlocks
|
static SmallDocumentBlock[] |
SmallDocumentBlock.convert(POIFSBigBlockSize bigBlockSize,
byte[] array,
int size)
convert a single long array into an array of SmallDocumentBlock
instances
|
static DocumentBlock[] |
DocumentBlock.convert(POIFSBigBlockSize bigBlockSize,
byte[] array,
int size)
convert a single long array into an array of DocumentBlock
instances
|
static BATBlock |
BATBlock.createBATBlock(POIFSBigBlockSize bigBlockSize,
java.nio.ByteBuffer data)
Create a single BATBlock from the byte buffer, which must hold at least
one big block of data to be read.
|
static BATBlock[] |
BATBlock.createBATBlocks(POIFSBigBlockSize bigBlockSize,
int[] entries)
Create an array of BATBlocks from an array of int block
allocation table entries
|
static BATBlock |
BATBlock.createEmptyBATBlock(POIFSBigBlockSize bigBlockSize,
boolean isXBAT)
Creates a single BATBlock, with all the values set to empty.
|
static BlockWritable[] |
PropertyBlock.createPropertyBlockArray(POIFSBigBlockSize bigBlockSize,
java.util.List<Property> properties)
Create an array of PropertyBlocks from an array of Property
instances, creating empty Property instances to make up any
shortfall
|
static BATBlock[] |
BATBlock.createXBATBlocks(POIFSBigBlockSize bigBlockSize,
int[] entries,
int startBlock)
Create an array of XBATBlocks from an array of int block
allocation table entries
|
static java.util.List |
SmallDocumentBlock.extract(POIFSBigBlockSize bigBlockSize,
ListManagedBlock[] blocks)
create a list of SmallDocumentBlock's from raw data
|
static int |
SmallDocumentBlock.fill(POIFSBigBlockSize bigBlockSize,
java.util.List blocks)
fill out a List of SmallDocumentBlocks so that it fully occupies
a set of big blocks
|
static BlockList |
SmallBlockTableReader.getSmallDocumentBlocks(POIFSBigBlockSize bigBlockSize,
RawDataBlockList blockList,
RootProperty root,
int sbatStart)
fetch the small document block list from an existing file
|
Constructor and Description |
---|
BlockAllocationTableReader(POIFSBigBlockSize bigBlockSize,
int block_count,
int[] block_array,
int xbat_count,
int xbat_index,
BlockList raw_block_list)
create a BlockAllocationTableReader for an existing filesystem.
|
BlockAllocationTableWriter(POIFSBigBlockSize bigBlockSize)
create a BlockAllocationTableWriter
|
DocumentBlock(java.io.InputStream stream,
POIFSBigBlockSize bigBlockSize)
Create a single instance initialized with data.
|
HeaderBlock(POIFSBigBlockSize bigBlockSize)
Create a single instance initialized with default values
|
HeaderBlockWriter(POIFSBigBlockSize bigBlockSize)
Create a single instance initialized with default values
|
RawDataBlockList(java.io.InputStream stream,
POIFSBigBlockSize bigBlockSize)
Constructor RawDataBlockList
|
SmallBlockTableWriter(POIFSBigBlockSize bigBlockSize,
java.util.List documents,
RootProperty root)
Creates new SmallBlockTable
|
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.