privatestaticvoid test1() throws Exception {
File f = new File(System.getProperty("test.src", "."), "input.jar");
// test ZipInputStream try (FileInputStream fis = new FileInputStream(f);
ZipInputStream z = new ZipInputStream(fis))
{
z.getNextEntry();
tryAvail(z);
}
// test InflaterInputStream try (ZipFile zfile = new ZipFile(f)) {
tryAvail(zfile.getInputStream(zfile.getEntry("Available.java")));
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.