public static final class ZipResourceFile.ZipEntryRO extends Object
| Modifier and Type | Field and Description |
|---|---|
long |
mCompressedLength |
long |
mCRC32 |
File |
mFile |
String |
mFileName |
long |
mLocalHdrOffset |
int |
mMethod |
long |
mOffset |
long |
mUncompressedLength |
long |
mWhenModified |
String |
mZipFileName |
| Constructor and Description |
|---|
ZipEntryRO(String zipFileName,
File file,
String fileName) |
| Modifier and Type | Method and Description |
|---|---|
android.content.res.AssetFileDescriptor |
getAssetFileDescriptor() |
long |
getOffset()
Calculates the offset of the start of the Zip file entry within the
Zip file.
|
File |
getZipFile() |
String |
getZipFileName() |
boolean |
isUncompressed()
isUncompressed
|
void |
setOffsetFromFile(RandomAccessFile f,
ByteBuffer buf) |
public final File mFile
public final String mFileName
public final String mZipFileName
public long mLocalHdrOffset
public int mMethod
public long mWhenModified
public long mCRC32
public long mCompressedLength
public long mUncompressedLength
public long mOffset
public void setOffsetFromFile(RandomAccessFile f, ByteBuffer buf) throws IOException
IOExceptionpublic long getOffset()
public boolean isUncompressed()
public android.content.res.AssetFileDescriptor getAssetFileDescriptor()
public String getZipFileName()
public File getZipFile()
Copyright © 2015. All rights reserved.