org.apache.poi.poifs.dev
Class POIFSHeaderDumper
- java.lang.Object
-
- org.apache.poi.poifs.dev.POIFSHeaderDumper
-
public class POIFSHeaderDumper extends java.lang.ObjectA 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 Constructor and Description POIFSHeaderDumper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voiddisplayBATReader(BlockAllocationTableReader batReader)static voiddisplayHeader(HeaderBlock header_block)static voiddisplayRawBlocksSummary(RawDataBlockList data_blocks)static voidmain(java.lang.String[] args)Display the entries of multiple POIFS filesstatic voidviewFile(java.lang.String filename)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.ExceptionDisplay the entries of multiple POIFS files- Parameters:
args- the names of the files to be displayed- Throws:
java.lang.Exception
-
viewFile
public static void viewFile(java.lang.String filename) throws java.lang.Exception- Throws:
java.lang.Exception
-
displayHeader
public static void displayHeader(HeaderBlock header_block) throws java.lang.Exception
- Throws:
java.lang.Exception
-
displayRawBlocksSummary
public static void displayRawBlocksSummary(RawDataBlockList data_blocks) throws java.lang.Exception
- Throws:
java.lang.Exception
-
displayBATReader
public static void displayBATReader(BlockAllocationTableReader batReader) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
DataMelt 3.0 © DataMelt by jWork.ORG