org.apache.poi.poifs.dev
Class POIFSHeaderDumper

java.lang.Object
  extended by org.apache.poi.poifs.dev.POIFSHeaderDumper

public class POIFSHeaderDumper
extends java.lang.Object

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
POIFSHeaderDumper()
           
 
Method Summary
static void displayBATReader(java.lang.String type, BlockAllocationTableReader batReader)
           
static void displayHeader(HeaderBlock header_block)
           
static void displayProperties(DirectoryProperty prop, java.lang.String indent)
           
static void displayPropertiesSummary(PropertyTable properties)
           
static void displayRawBlocksSummary(RawDataBlockList data_blocks)
           
static void main(java.lang.String[] args)
          Display the entries of multiple POIFS files
static void viewFile(java.lang.String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POIFSHeaderDumper

public POIFSHeaderDumper()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Display 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(java.lang.String type,
                                    BlockAllocationTableReader batReader)
                             throws java.lang.Exception
Throws:
java.lang.Exception

displayPropertiesSummary

public static void displayPropertiesSummary(PropertyTable properties)

displayProperties

public static void displayProperties(DirectoryProperty prop,
                                     java.lang.String indent)