AssetFileDescriptor function ( String arg0 ) { ZipEntryRO loc0 = mHashMap . get ( arg0 ) ; if ( null != loc0 ) { return loc0 . getAssetFileDescriptor ( ) ; } return null ; }
getassetfiledescriptor allows for zipresourcefile to directly feed android api 's that want an fd , offset , and length such as the mediaplayer . it also allows for the class to be used in a content provider that can feed video players . the file must be stored non-compressed in the zip file for this to work . concode_field_sep int kLFHLen concode_elem_sep String LOG_TAG concode_elem_sep HashMap<File,ZipFile> mZipFiles concode_elem_sep int kCDELen concode_elem_sep long mLocalHdrOffset concode_elem_sep int kEOCDNumEntries concode_elem_sep int kCDECompLen concode_elem_sep HashMap<String,ZipEntryRO> mHashMap concode_elem_sep int kZipEntryAdj concode_elem_sep long mCRC32 concode_elem_sep int kCDECommentLen concode_elem_sep int kCompressStored concode_elem_sep int kCDEUncompLen concode_elem_sep int kCDELocalOffset concode_elem_sep int kEOCDLen concode_elem_sep int kCDESignature concode_elem_sep int kCDECRC concode_elem_sep String mFileName concode_elem_sep int kEOCDSize concode_elem_sep int kCDEModWhen concode_elem_sep long mOffset concode_elem_sep int kCompressDeflated concode_elem_sep int kCDENameLen concode_elem_sep int kMaxCommentLen concode_elem_sep int mMethod concode_elem_sep boolean LOGV concode_elem_sep String mZipFileName concode_elem_sep int kLFHSignature concode_elem_sep int kLFHExtraLen concode_elem_sep int kCDEExtraLen concode_elem_sep long mCompressedLength concode_elem_sep int kEOCDSignature concode_elem_sep int kEOCDFileOffset concode_elem_sep File mFile concode_elem_sep int kCDEMethod concode_elem_sep long mWhenModified concode_elem_sep int kLFHNameLen concode_elem_sep ByteBuffer mLEByteBuffer concode_elem_sep int kMaxEOCDSearch concode_elem_sep long mUncompressedLength concode_field_sep String getZipFileName concode_elem_sep int read4LE concode_elem_sep void addPatchFile concode_elem_sep long getOffset concode_elem_sep ZipEntryRO[] getAllEntries concode_elem_sep File getZipFile concode_elem_sep int swapEndian concode_elem_sep int swapEndian concode_elem_sep void setOffsetFromFile concode_elem_sep boolean isUncompressed concode_elem_sep ZipEntryRO[] getEntriesAt concode_elem_sep InputStream getInputStream