public final class BiffViewer
extends java.lang.Object
main(java.lang.String[])| Modifier and Type | Method and Description |
|---|---|
static Record[] |
createRecords(java.io.InputStream is,
java.io.PrintStream ps,
org.apache.poi.hssf.dev.BiffViewer.BiffRecordListener recListener,
boolean dumpInterpretedRecords)
Create an array of records from an input stream
|
protected static java.io.InputStream |
getPOIFSInputStream(java.io.File file) |
static void |
main(java.lang.String[] args)
Method main with 1 argument just run straight biffview against given
file
Usage:
BiffViewer [--biffhex] [--noint] [--noescher] [--out] <fileName> BiffViewer --rawhex [--out] <fileName> --biffhexshow hex dump of each BIFF record --nointdo not output interpretation of BIFF records --outsend output to <fileName>.out --rawhexoutput raw hex dump of whole workbook stream --escherturn on deserialization of escher records (default is off) --noheaderdo not print record header (default is on) |
protected static void |
runBiffViewer(java.io.PrintStream ps,
java.io.InputStream is,
boolean dumpInterpretedRecords,
boolean dumpHex,
boolean zeroAlignHexDump,
boolean suppressHeader) |
public static Record[] createRecords(java.io.InputStream is, java.io.PrintStream ps, org.apache.poi.hssf.dev.BiffViewer.BiffRecordListener recListener, boolean dumpInterpretedRecords) throws RecordFormatException
is - the InputStream from which the records will be obtainedRecordFormatException - on error processing the InputStreampublic static void main(java.lang.String[] args)
Usage:
BiffViewer [--biffhex] [--noint] [--noescher] [--out] <fileName>
BiffViewer --rawhex [--out] <fileName>
| --biffhex | show hex dump of each BIFF record |
| --noint | do not output interpretation of BIFF records |
| --out | send output to <fileName>.out |
| --rawhex | output raw hex dump of whole workbook stream |
| --escher | turn on deserialization of escher records (default is off) |
| --noheader | do not print record header (default is on) |
protected static java.io.InputStream getPOIFSInputStream(java.io.File file)
throws java.io.IOException,
java.io.FileNotFoundException
java.io.IOExceptionjava.io.FileNotFoundExceptionprotected static void runBiffViewer(java.io.PrintStream ps,
java.io.InputStream is,
boolean dumpInterpretedRecords,
boolean dumpHex,
boolean zeroAlignHexDump,
boolean suppressHeader)
Copyright 2014 The Apache Software Foundation or its licensors, as applicable.