public class ODFParser extends Object
Constructor and Description |
---|
ODFParser() |
Modifier and Type | Method and Description |
---|---|
void |
copyFile(String odfName,
String entry,
String outputFileName)
Extract and copy file compressed in ODF document.
|
ODFDocument |
getDocument(String odfName)
Parses a ODF document and return document interface of "content.xml".
|
ODFDocument |
getDocument(String odfName,
String xmlName)
Parses a ODF document and return document.
|
String[] |
getFileEntries(String odfName)
Returns file name list compressed in ODF document.
|
public ODFDocument getDocument(String odfName, String xmlName)
odfName
- file path of ODF document to parsexmlName
- XML file name compressed in ODF filepublic ODFDocument getDocument(String odfName)
odfName
- file path of ODF document to parsepublic String[] getFileEntries(String odfName)
odfName
- file path of ODF document to parse