|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.dev.OOXMLLister
public class OOXMLLister
Prints out the contents of a OOXML container. Useful for seeing what parts are defined, and how they're all related to each other.
| Constructor Summary | |
|---|---|
OOXMLLister(OPCPackage container)
|
|
OOXMLLister(OPCPackage container,
java.io.PrintStream disp)
|
|
| Method Summary | |
|---|---|
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(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OOXMLLister(OPCPackage container)
public OOXMLLister(OPCPackage container,
java.io.PrintStream disp)
| Method Detail |
|---|
public static long getSize(PackagePart part)
throws java.io.IOException
part - the PackagePart
java.io.IOException - if the part can't be read
public void displayParts()
throws InvalidFormatException,
java.io.IOException
InvalidFormatException - if the package relations are invalid
java.io.IOException - if the package can't be readpublic void displayRelations()
public void close()
throws java.io.IOException
close in interface java.io.Closeablejava.io.IOException
public static void main(java.lang.String[] args)
throws java.io.IOException,
InvalidFormatException
java.io.IOException
InvalidFormatException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||