Package jadx.zip.fallback
Class FallbackZipEntry
- java.lang.Object
-
- jadx.zip.fallback.FallbackZipEntry
-
-
Constructor Summary
Constructors Constructor Description FallbackZipEntry(FallbackZipParser parser, java.util.zip.ZipEntry zipEntry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBytes()Uncompressed byteslonggetCompressedSize()java.io.InputStreamgetInputStream()Stream of uncompressed bytes.java.lang.StringgetName()Zip entry namelonggetUncompressedSize()java.util.zip.ZipEntrygetZipEntry()java.io.FilegetZipFile()booleanisDirectory()booleanpreferBytes()Return true ifIZipEntry.getBytes()method is more optimal to use other thanIZipEntry.getInputStream()
-
-
-
Constructor Detail
-
FallbackZipEntry
public FallbackZipEntry(FallbackZipParser parser, java.util.zip.ZipEntry zipEntry)
-
-
Method Detail
-
getZipEntry
public java.util.zip.ZipEntry getZipEntry()
-
getName
public java.lang.String getName()
Description copied from interface:IZipEntryZip entry name
-
preferBytes
public boolean preferBytes()
Description copied from interface:IZipEntryReturn true ifIZipEntry.getBytes()method is more optimal to use other thanIZipEntry.getInputStream()- Specified by:
preferBytesin interfaceIZipEntry
-
getBytes
public byte[] getBytes()
Description copied from interface:IZipEntryUncompressed bytes
-
getInputStream
public java.io.InputStream getInputStream()
Description copied from interface:IZipEntryStream of uncompressed bytes.- Specified by:
getInputStreamin interfaceIZipEntry
-
getCompressedSize
public long getCompressedSize()
- Specified by:
getCompressedSizein interfaceIZipEntry
-
getUncompressedSize
public long getUncompressedSize()
- Specified by:
getUncompressedSizein interfaceIZipEntry
-
isDirectory
public boolean isDirectory()
- Specified by:
isDirectoryin interfaceIZipEntry
-
getZipFile
public java.io.File getZipFile()
- Specified by:
getZipFilein interfaceIZipEntry
-
-