public class ZipReaderImpl
extends Object
implements com.liferay.portal.kernel.zip.ZipReader
| Constructor and Description |
|---|
ZipReaderImpl(File file) |
ZipReaderImpl(InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
List<String> |
getEntries() |
byte[] |
getEntryAsByteArray(String name) |
InputStream |
getEntryAsInputStream(String name) |
String |
getEntryAsString(String name) |
List<String> |
getFolderEntries(String path) |
public ZipReaderImpl(File file)
public ZipReaderImpl(InputStream inputStream)
throws IOException
IOExceptionpublic void close()
close in interface com.liferay.portal.kernel.zip.ZipReaderpublic List<String> getEntries()
getEntries in interface com.liferay.portal.kernel.zip.ZipReaderpublic byte[] getEntryAsByteArray(String name)
getEntryAsByteArray in interface com.liferay.portal.kernel.zip.ZipReaderpublic InputStream getEntryAsInputStream(String name)
getEntryAsInputStream in interface com.liferay.portal.kernel.zip.ZipReaderpublic String getEntryAsString(String name)
getEntryAsString in interface com.liferay.portal.kernel.zip.ZipReaderpublic List<String> getFolderEntries(String path)
getFolderEntries in interface com.liferay.portal.kernel.zip.ZipReader