public class OOXMLLister
extends java.lang.Object
Constructor and Description |
---|
OOXMLLister(OPCPackage container) |
OOXMLLister(OPCPackage container,
java.io.PrintStream disp) |
Modifier and Type | Method and Description |
---|---|
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(java.lang.String[] args) |
public OOXMLLister(OPCPackage container)
public OOXMLLister(OPCPackage container, java.io.PrintStream disp)
public static long getSize(PackagePart part) throws java.io.IOException
part
- the PackagePartjava.io.IOException
- if the part can't be readpublic void displayParts() throws InvalidFormatException, java.io.IOException
InvalidFormatException
- if the package relations are invalidjava.io.IOException
- if the package can't be readpublic void displayRelations()
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.