|
||||||||||
| 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(File zipFile)
|
|
StiZipWriter20(OutputStream outputStream)
|
|
| Method Summary | |
|---|---|
void |
addFile(String path,
String fileName,
byte[] bytes)
Put byta array in zip. |
void |
addFile(String path,
String fileName,
Document doc)
Add Document to zip |
void |
finish()
Close zip |
void |
putNexEntry(String path)
Put next entry |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StiZipWriter20(File zipFile)
throws FileNotFoundException
FileNotFoundException
public StiZipWriter20(OutputStream outputStream)
throws FileNotFoundException
FileNotFoundException| Method Detail |
|---|
public void addFile(String path,
String fileName,
Document doc)
throws IOException,
TransformerException
Document to zip
path - Document in zipfileName - of Documentdoc - Document
IOException
TransformerException
public void addFile(String path,
String fileName,
byte[] bytes)
throws IOException
path - of byta arrayfileName - of byta arraybytes -
IOException
public void putNexEntry(String path)
throws IOException
path -
IOException
public void finish()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||