Package loci.poi.hssf.dev
Class BiffViewer
java.lang.Object
loci.poi.hssf.dev.BiffViewer
Utillity for reading in BIFF8 records and displaying data from them.
- Author:
- Andrew C. Oliver (acoliver at apache dot org), Glen Stampoultzis (glens at apache.org)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Record[]createRecords(InputStream in, boolean dump) Create an array of records from an input streamstatic voidMethod main with 1 argument just run straight biffview against given filevoidrun()Method run starts up BiffViewer...voidsetDump(boolean dump) Method setDump - hex dump out data or not.
-
Constructor Details
-
BiffViewer
Creates new BiffViewer- Parameters:
args-
-
-
Method Details
-
run
public void run()Method run starts up BiffViewer... -
createRecords
Create an array of records from an input stream- Parameters:
in- the InputStream from which the records will be obtaineddump-- Returns:
- an array of Records created from the InputStream
- Throws:
RecordFormatException- on error processing the InputStream
-
setDump
public void setDump(boolean dump) Method setDump - hex dump out data or not.- Parameters:
dump-
-
main
Method main with 1 argument just run straight biffview against given filewith 2 arguments where the second argument is "on" - run biffviewer
with hex dumps of records
with 2 arguments where the second argument is "bfd" just run a big fat hex dump of the file...don't worry about biffviewing it at all
Define the system property
poi.deserialize.escherto turn on deserialization of escher records.
-