|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stimulsoft.base.utils.StiZipWriter20
public class StiZipWriter20
Zip file helper Copyright Stimulsoft
Constructor Summary | |
---|---|
StiZipWriter20(java.io.File zipFile)
|
|
StiZipWriter20(java.io.OutputStream outputStream)
|
Method Summary | |
---|---|
void |
addFile(java.lang.String path,
java.lang.String fileName,
byte[] bytes)
Put byta array in zip. |
void |
addFile(java.lang.String path,
java.lang.String fileName,
org.w3c.dom.Document doc)
Add Document to zip |
void |
finish()
Close zip |
void |
putNexEntry(java.lang.String path)
Put next entry |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StiZipWriter20(java.io.File zipFile) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public StiZipWriter20(java.io.OutputStream outputStream) throws java.io.FileNotFoundException
java.io.FileNotFoundException
Method Detail |
---|
public void addFile(java.lang.String path, java.lang.String fileName, org.w3c.dom.Document doc) throws java.io.IOException, javax.xml.transform.TransformerException
Document
to zip
path
- Document
in zipfileName
- of Document
doc
- Document
java.io.IOException
javax.xml.transform.TransformerException
public void addFile(java.lang.String path, java.lang.String fileName, byte[] bytes) throws java.io.IOException
path
- of byta arrayfileName
- of byta arraybytes
-
java.io.IOException
public void putNexEntry(java.lang.String path) throws java.io.IOException
path
-
java.io.IOException
public void finish() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |