Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.zip
Interface ZipWriter

All Known Implementing Classes:
ZipWriterImpl

public interface ZipWriter


Method Summary
 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()
           
 File getFile()
           
 String getPath()
           
 

Method Detail

addEntry

void addEntry(String name,
              byte[] bytes)
              throws IOException
Throws:
IOException

addEntry

void addEntry(String name,
              InputStream inputStream)
              throws IOException
Throws:
IOException

addEntry

void addEntry(String name,
              String s)
              throws IOException
Throws:
IOException

addEntry

void addEntry(String name,
              StringBuilder sb)
              throws IOException
Throws:
IOException

finish

byte[] finish()
              throws IOException
Throws:
IOException

getFile

File getFile()

getPath

String getPath()

Liferay 6.1.2-ce-ga3