Package com.xmlmind.w2x.docx.packaging
Class Package
- java.lang.Object
-
- com.xmlmind.w2x.docx.packaging.Package
-
public final class Package extends Object
Easy access to the contents of a.docxfile.Implementation node: the names of the Zip entries are not normalized in any way.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Part[]getAllParts()Related[]getAllRelated()PartgetPart(String partName)RelatedgetRelated(String relId)Related[]getRelatedByRelation(String relation)PartgetRelatedPart(String relId)Part[]getRelatedPartByRelation(String relation)
-
-
-
Constructor Detail
-
Package
public Package(File docxFile) throws IOException, PackageException
- Throws:
IOExceptionPackageException
-
-
Method Detail
-
getAllParts
public Part[] getAllParts()
-
getAllRelated
public Related[] getAllRelated()
-
close
public void close() throws IOException- Throws:
IOException
-
-