public class ZipWriterImpl extends Object implements com.liferay.portal.kernel.zip.ZipWriter
| Constructor and Description |
|---|
ZipWriterImpl() |
ZipWriterImpl(File file) |
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.ZipWriterIOExceptionpublic byte[] finish()
throws IOException
finish in interface com.liferay.portal.kernel.zip.ZipWriterIOExceptionpublic File getFile()
getFile in interface com.liferay.portal.kernel.zip.ZipWriterpublic String getPath()
getPath in interface com.liferay.portal.kernel.zip.ZipWriter