Class POIFSHeaderDumper
java.lang.Object
org.docx4j.org.apache.poi.poifs.dev.POIFSHeaderDumper
A very low level debugging tool, for printing out core
information on the headers and FAT blocks.
You probably only want to use this if you're trying
to understand POIFS, or if you're trying to track
down the source of corruption in a file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddisplayBATReader(String type, BlockAllocationTableReader batReader) static voiddisplayHeader(HeaderBlock header_block) static voiddisplayProperties(DirectoryProperty prop, String indent) static voiddisplayPropertiesSummary(PropertyTable properties) static voiddisplayRawBlocksSummary(RawDataBlockList data_blocks) static voidDisplay the entries of multiple POIFS filesstatic void
-
Constructor Details
-
POIFSHeaderDumper
public POIFSHeaderDumper()
-
-
Method Details
-
main
Display the entries of multiple POIFS files- Parameters:
args- the names of the files to be displayed- Throws:
Exception
-
viewFile
- Throws:
Exception
-
displayHeader
- Throws:
Exception
-
displayRawBlocksSummary
- Throws:
Exception
-
displayBATReader
public static void displayBATReader(String type, BlockAllocationTableReader batReader) throws Exception - Throws:
Exception
-
displayPropertiesSummary
-
displayProperties
-