public class ZipWriterImpl
extends Object
implements com.liferay.portal.kernel.zip.ZipWriter
| Constructor and Description |
|---|
ZipWriterImpl() |
ZipWriterImpl(File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(String name,
byte[] bytes) |
void |
addEntry(String name,
InputStream inputStream) |
void |
addEntry(String name,
String s) |
void |
addEntry(String name,
StringBuilder sb) |
byte[] |
finish()
Deprecated.
As of Athanasius (7.3.x), replaced by
getFile() |
File |
getFile() |
String |
getPath()
Deprecated.
As of Athanasius (7.3.x), replaced by
getFile() |
void |
umount()
Deprecated.
As of Athanasius (7.3.x), replaced by
getFile() |
public ZipWriterImpl()
public ZipWriterImpl(File file)
public void addEntry(String name,
byte[] bytes)
throws IOException
addEntry in interface com.liferay.portal.kernel.zip.ZipWriterIOExceptionpublic void addEntry(String name,
InputStream inputStream)
throws IOException
addEntry in interface com.liferay.portal.kernel.zip.ZipWriterIOExceptionpublic void addEntry(String name,
String s)
throws IOException
addEntry in interface com.liferay.portal.kernel.zip.ZipWriterIOExceptionpublic void addEntry(String name,
StringBuilder sb)
throws IOException
addEntry in interface com.liferay.portal.kernel.zip.ZipWriterIOException@Deprecated
public byte[] finish()
throws IOException
getFile()finish in interface com.liferay.portal.kernel.zip.ZipWriterIOExceptionpublic File getFile()
getFile in interface com.liferay.portal.kernel.zip.ZipWriter@Deprecated public String getPath()
getFile()getPath in interface com.liferay.portal.kernel.zip.ZipWriter@Deprecated public void umount()
getFile()umount in interface com.liferay.portal.kernel.zip.ZipWriter