Android Utililty Methods Zip Entry Get

List of utility methods to do Zip Entry Get

Description

The list of methods to do Zip Entry Get are organized into topic(s).

Method

StringgetEntryName(ZipEntry entry)
get Entry Name
return new String(entry.getName().getBytes("GB2312"), "8859_1");
StringgetEntryName(ZipEntry entry)
get Entry Name
return new String(entry.getName().getBytes("GB2312"), "8859_1");
StringgetEntryName(ZipEntry entry)
get Entry Name
String name = new String(entry.getName().getBytes("GB2312"),
        "8859_1");
return name;
StringgetEntryName(ZipEntry entry)
get Entry Name
return new String(entry.getName().getBytes(HTTP.UTF_8), "8859_1");
StringgetEntryName(ZipEntry entry)
get Entry Name
return new String(entry.getName().getBytes(ENCODE_GB2312),
        ENCODE_8859_1);
StringgetEntryName(ZipEntry entry)
get Entry Name
return new String(entry.getName().getBytes(HTTP.UTF_8), "8859_1");
java.util.ListGetFileList( String zipFileString, boolean bContainFolder, boolean bContainFile)
Get File List
android.util.Log.v("XZip", "GetFileList(String)");
java.util.List<java.io.File> fileList = new java.util.ArrayList<java.io.File>();
java.util.zip.ZipInputStream inZip = new java.util.zip.ZipInputStream(
        new java.io.FileInputStream(zipFileString));
java.util.zip.ZipEntry zipEntry;
String szName = "";
while ((zipEntry = inZip.getNextEntry()) != null) {
    szName = zipEntry.getName();
...
ListGetFileList(String zipFileString, boolean bContainFolder, boolean bContainFile)
Get File List
Log.v("XZip", "GetFileList(String)");
List<File> fileList = new ArrayList<File>();
ZipInputStream inZip = new ZipInputStream(new FileInputStream(
        zipFileString));
ZipEntry zipEntry;
String szName = "";
while ((zipEntry = inZip.getNextEntry()) != null) {
    szName = zipEntry.getName();
...
ListGetFileList(String zipFileString, boolean bContainFolder, boolean bContainFile)
Get File List
List<File> fileList = new ArrayList<File>();
ZipInputStream inZip = new ZipInputStream(new FileInputStream(
        zipFileString));
ZipEntry zipEntry;
String szName = "";
while ((zipEntry = inZip.getNextEntry()) != null) {
    szName = zipEntry.getName();
    if (zipEntry.isDirectory()) {
...
booleanisIgnore(final ZipEntry ze)
is Ignore
return ze == null
        || (ze.getName() != null && ze.getName().startsWith(
                "__MACOSX"));