public class OOXMLLister extends Object implements Closeable
| Constructor and Description |
|---|
OOXMLLister(OPCPackage container) |
OOXMLLister(OPCPackage container,
PrintStream disp) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
displayParts()
Displays information on all the different
parts of the OOXML file container.
|
void |
displayRelations()
Displays information on all the different
relationships between different parts
of the OOXML file container.
|
static long |
getSize(PackagePart part)
Figures out how big a given PackagePart is.
|
static void |
main(String[] args) |
public OOXMLLister(OPCPackage container)
public OOXMLLister(OPCPackage container, PrintStream disp)
public static long getSize(PackagePart part) throws IOException
part - the PackagePartIOException - if the part can't be readpublic void displayParts()
throws InvalidFormatException,
IOException
InvalidFormatException - if the package relations are invalidIOException - if the package can't be readpublic void displayRelations()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic static void main(String[] args) throws IOException, InvalidFormatException
IOExceptionInvalidFormatException