@Test public void testGetFileName() { APK apk = null; try { apk = new APK(new File("./test-apk/error.apk")); } catch (ZipException e) { System.out.println("Zip 异常 : " + e.getMessage()); return; } catch (IOException e) { System.out.println(e.getMessage()); return; } catch (Exception e) { System.out.println("异常:" + e.getCause()); return; } System.out.println("<><><><>ADASDASD"); System.out.println(apk.getCertificateInfos()); System.out.println(apk.getFileName()); System.out.println(apk.getPackageName()); System.out.println(apk.getActivities()); System.out.println(apk.getLabel()); System.out.println(apk.getPermissions()); System.out.println(apk.getReceivers()); System.out.println(apk.getServices()); System.out.println(apk.getVersionCode()); System.out.println(apk.getVersionName()); DexFileReader dexFileReader = apk.getDexFileReader(); if (dexFileReader == null) { System.out.println("dexFileReader is null"); } else { System.out.println(dexFileReader.loadStrings()); } apk.getMethods(); }
public String getFileName() { return fileName; }
APK { public String getFileName() { return fileName; } }
APK { public String getFileName() { return fileName; } APK(InputStream inputStream);  APK(String filePath, boolean parseAXML, boolean isParseCode, boolean parseCert);  APK(File file, boolean parseAXML, boolean isParseCode, boolean parseCert);  APK(String filePath);  APK(File file); }
APK { public String getFileName() { return fileName; } APK(InputStream inputStream);  APK(String filePath, boolean parseAXML, boolean isParseCode, boolean parseCert);  APK(File file, boolean parseAXML, boolean isParseCode, boolean parseCert);  APK(String filePath);  APK(File file); HashMap<String, String> getSubFilesMap(); HashMap<String, APK> getSubApkDataMap(); HashMap<String, String> getSubAPKHash256Map(); HashMap<String, ElfData> getElfDataHashMap(); String getFileName(); String getPackageName(); String getVersionCode(); @SuppressWarnings("UnusedDeclaration") String getDexMD5(); String getDexSHA256(); String getVersionName(); String getLabel(); ArrayList<String> getPermissions(); HashMap<String, String> getCertificateInfos(); HashMap<String, ArrayList<String>> getReceivers(); ArrayList<String> getServices(); DexFileReader getDexFileReader(); HashMap<String, ArrayList<String>> getActivities(); List<DexClass> getDexClasses(); HashMap<String, String> getMethods(); @SuppressWarnings("UnusedDeclaration") void getSubApks(); HashMap<String, HashSet<String>> getStringsMap(); List<String> getStrings(); @Override String toString(); HashMap<String, String> getSubFileHash256Map(); @SuppressWarnings("UnusedDeclaration") ArrayList<String> getSubFileHash256List(); HashMap<String, String> getMetaDatas(); }
APK { public String getFileName() { return fileName; } APK(InputStream inputStream);  APK(String filePath, boolean parseAXML, boolean isParseCode, boolean parseCert);  APK(File file, boolean parseAXML, boolean isParseCode, boolean parseCert);  APK(String filePath);  APK(File file); HashMap<String, String> getSubFilesMap(); HashMap<String, APK> getSubApkDataMap(); HashMap<String, String> getSubAPKHash256Map(); HashMap<String, ElfData> getElfDataHashMap(); String getFileName(); String getPackageName(); String getVersionCode(); @SuppressWarnings("UnusedDeclaration") String getDexMD5(); String getDexSHA256(); String getVersionName(); String getLabel(); ArrayList<String> getPermissions(); HashMap<String, String> getCertificateInfos(); HashMap<String, ArrayList<String>> getReceivers(); ArrayList<String> getServices(); DexFileReader getDexFileReader(); HashMap<String, ArrayList<String>> getActivities(); List<DexClass> getDexClasses(); HashMap<String, String> getMethods(); @SuppressWarnings("UnusedDeclaration") void getSubApks(); HashMap<String, HashSet<String>> getStringsMap(); List<String> getStrings(); @Override String toString(); HashMap<String, String> getSubFileHash256Map(); @SuppressWarnings("UnusedDeclaration") ArrayList<String> getSubFileHash256List(); HashMap<String, String> getMetaDatas();  }