@Test public void testGetEntryContentUtf8() { String zip = Resources.getAbsolutePath("/good.zip"); String content = ZipFiles.getEntryContentUtf8(zip, "file.txt"); Assert.assertEquals("Hello World", content); }
public static String getEntryContentUtf8(String zipFile, String relativeEntryPath) { return ByteBuffers .getUtf8String(getEntryContent(zipFile, relativeEntryPath)); }
ZipFiles { public static String getEntryContentUtf8(String zipFile, String relativeEntryPath) { return ByteBuffers .getUtf8String(getEntryContent(zipFile, relativeEntryPath)); } }
ZipFiles { public static String getEntryContentUtf8(String zipFile, String relativeEntryPath) { return ByteBuffers .getUtf8String(getEntryContent(zipFile, relativeEntryPath)); }  }
ZipFiles { public static String getEntryContentUtf8(String zipFile, String relativeEntryPath) { return ByteBuffers .getUtf8String(getEntryContent(zipFile, relativeEntryPath)); }  static ByteBuffer getEntryContent(String zipFile,
            String relativeEntryPath); static String getEntryContentUtf8(String zipFile,
            String relativeEntryPath); static void unzip(String zipPath, String destination); }
ZipFiles { public static String getEntryContentUtf8(String zipFile, String relativeEntryPath) { return ByteBuffers .getUtf8String(getEntryContent(zipFile, relativeEntryPath)); }  static ByteBuffer getEntryContent(String zipFile,
            String relativeEntryPath); static String getEntryContentUtf8(String zipFile,
            String relativeEntryPath); static void unzip(String zipPath, String destination);  }