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.ZipWriter
IOException
public void addEntry(String name, InputStream inputStream) throws IOException
addEntry
in interface com.liferay.portal.kernel.zip.ZipWriter
IOException
public void addEntry(String name, String s) throws IOException
addEntry
in interface com.liferay.portal.kernel.zip.ZipWriter
IOException
public void addEntry(String name, StringBuilder sb) throws IOException
addEntry
in interface com.liferay.portal.kernel.zip.ZipWriter
IOException
public byte[] finish() throws IOException
finish
in interface com.liferay.portal.kernel.zip.ZipWriter
IOException
public File getFile()
getFile
in interface com.liferay.portal.kernel.zip.ZipWriter
public String getPath()
getPath
in interface com.liferay.portal.kernel.zip.ZipWriter