public class XJdfUnpackager extends AbstractXmlUnpackager
| Constructor and Description |
|---|
XJdfUnpackager(String pathPackage)
Custom constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
getMasterExtension()
Defines the file extension of the master file.
|
XJdfNavigator |
getXJdfDocument()
Returns the XJDF Document covered by the XJDFNavigator.
|
XJdfNavigator |
getXJdfDocument(boolean namespaceAware)
Returns the XJDF Document covered by the XJDFNavigator.
|
String |
unpackageXJdf(String targetDir)
Unpackage an XJDF Package to a target directory.
|
String |
unpackageXJdfTemp()
Unpackage an XJDF Package to a temporary directory.
|
String |
unpackageXJdfTemp(String appName)
Unpackage an XJDF Package to a temporary directory.
|
extractFile, findMasterDocument, findMasterDocumentPath, unpackageZip, unpackageZipTemp, unpackageZipTemppublic XJdfUnpackager(String pathPackage) throws IOException
pathPackage - Path to XJDF Package.IOExceptionpublic XJdfNavigator getXJdfDocument() throws Exception
Exceptionpublic final XJdfNavigator getXJdfDocument(boolean namespaceAware) throws Exception
namespaceAware - Flag whether or not the navigator should be aware of the namespaces.Exceptionpublic String unpackageXJdfTemp(String appName) throws IOException
pathPackage - XJDF Package to be unpackaged.IOExceptionpublic String unpackageXJdfTemp() throws IOException
pathPackage - XJDF Package to be unpackaged.IOExceptionpublic String unpackageXJdf(String targetDir) throws IOException
pathPackage - XJDF Package to be unpackaged.targetDir - Target directory for unpackaging.IOExceptionprotected String[] getMasterExtension()
AbstractXmlUnpackagergetMasterExtension in class AbstractXmlUnpackagerAbstractXmlUnpackager.getMasterExtension()Copyright © 2016. All rights reserved.