Package org.apache.poi.poifs.common
Interface POIFSConstants
public interface POIFSConstants
A repository for constants shared by POI classes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The minimum size of a document before it's stored using Big Blocks (normal streams).static final int
Indicates the sector holds a DIFAT block (0xFFFFFFFC)static final int
Indicates the sector is the end of a chain (0xFFFFFFFE)static final int
Indicates the sector holds a FAT block (0xFFFFFFFD)static final int
Some use 4096 bytesstatic final POIFSBigBlockSize
static final int
The highest sector number you're allowed, 0xFFFFFFFAstatic final byte[]
The first 4 bytes of an OOXML file, used in detectionstatic final int
How big a single property isstatic final byte[]
The first 5 bytes of a raw XML file, used in detectionstatic final int
How big a block in the small block stream is.static final int
Most files use 512 bytes as their big block sizestatic final POIFSBigBlockSize
static final int
Indicates the sector is not used (0xFFFFFFFF)
-
Field Details
-
SMALLER_BIG_BLOCK_SIZE
static final int SMALLER_BIG_BLOCK_SIZEMost files use 512 bytes as their big block size- See Also:
-
SMALLER_BIG_BLOCK_SIZE_DETAILS
-
LARGER_BIG_BLOCK_SIZE
static final int LARGER_BIG_BLOCK_SIZESome use 4096 bytes- See Also:
-
LARGER_BIG_BLOCK_SIZE_DETAILS
-
SMALL_BLOCK_SIZE
static final int SMALL_BLOCK_SIZEHow big a block in the small block stream is. Fixed size- See Also:
-
PROPERTY_SIZE
static final int PROPERTY_SIZEHow big a single property is- See Also:
-
BIG_BLOCK_MINIMUM_DOCUMENT_SIZE
static final int BIG_BLOCK_MINIMUM_DOCUMENT_SIZEThe minimum size of a document before it's stored using Big Blocks (normal streams). Smaller documents go in the Mini Stream (SBAT / Small Blocks)- See Also:
-
LARGEST_REGULAR_SECTOR_NUMBER
static final int LARGEST_REGULAR_SECTOR_NUMBERThe highest sector number you're allowed, 0xFFFFFFFA- See Also:
-
DIFAT_SECTOR_BLOCK
static final int DIFAT_SECTOR_BLOCKIndicates the sector holds a DIFAT block (0xFFFFFFFC)- See Also:
-
FAT_SECTOR_BLOCK
static final int FAT_SECTOR_BLOCKIndicates the sector holds a FAT block (0xFFFFFFFD)- See Also:
-
END_OF_CHAIN
static final int END_OF_CHAINIndicates the sector is the end of a chain (0xFFFFFFFE)- See Also:
-
UNUSED_BLOCK
static final int UNUSED_BLOCKIndicates the sector is not used (0xFFFFFFFF)- See Also:
-
OOXML_FILE_HEADER
static final byte[] OOXML_FILE_HEADERThe first 4 bytes of an OOXML file, used in detection -
RAW_XML_FILE_HEADER
static final byte[] RAW_XML_FILE_HEADERThe first 5 bytes of a raw XML file, used in detection
-