System.err.println("Use:");
System.err.println(" VSDDumper <filename>");
System.exit(1);
}
HDGFDiagram hdgf = new HDGFDiagram(
new POIFSFileSystem(new FileInputStream(args[0]))
);
System.out.println("Opened " + args[0]);
System.out.println("The document claims a size of " +
hdgf.getDocumentSize() + " (" +
Long.toHexString(hdgf.getDocumentSize()) + ")");
System.out.println();
dumpStream(hdgf.getTrailerStream(), 0);
}