List of utility methods to do Zip Entry Get
String | getEntryName(ZipEntry entry) get Entry Name return new String(entry.getName().getBytes("GB2312"), "8859_1"); |
String | getEntryName(ZipEntry entry) get Entry Name return new String(entry.getName().getBytes("GB2312"), "8859_1"); |
String | getEntryName(ZipEntry entry) get Entry Name String name = new String(entry.getName().getBytes("GB2312"), "8859_1"); return name; |
String | getEntryName(ZipEntry entry) get Entry Name return new String(entry.getName().getBytes(HTTP.UTF_8), "8859_1"); |
String | getEntryName(ZipEntry entry) get Entry Name return new String(entry.getName().getBytes(ENCODE_GB2312), ENCODE_8859_1); |
String | getEntryName(ZipEntry entry) get Entry Name return new String(entry.getName().getBytes(HTTP.UTF_8), "8859_1"); |
java.util.List | GetFileList( 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(); ... |
List | GetFileList(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(); ... |
List | GetFileList(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()) { ... |
boolean | isIgnore(final ZipEntry ze) is Ignore return ze == null || (ze.getName() != null && ze.getName().startsWith( "__MACOSX")); |