Package org.nuxeo.template.odt
Class OOoArchiveModifier
- java.lang.Object
-
- org.nuxeo.template.odt.OOoArchiveModifier
-
public class OOoArchiveModifier extends Object
Helper used to modify a ODT/Zip archive for addition Pictures (and potentially fragments)- Author:
- Tiry ([email protected])
-
-
Constructor Summary
Constructors Constructor Description OOoArchiveModifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
mkOOoZip(File directory, File outFile)
File
updateArchive(File workingDir, File oooFile, List<Blob> blobs)
protected void
writeOOoEntry(ZipOutputStream zipOutputStream, String entryName, File fileEntry, int zipMethod)
-
-
-
Method Detail
-
updateArchive
public File updateArchive(File workingDir, File oooFile, List<Blob> blobs) throws IOException
- Throws:
IOException
-
mkOOoZip
protected void mkOOoZip(File directory, File outFile) throws IOException
- Throws:
IOException
-
writeOOoEntry
protected void writeOOoEntry(ZipOutputStream zipOutputStream, String entryName, File fileEntry, int zipMethod) throws IOException
- Throws:
IOException
-
-