This demo shows how to use the try-with-resources feature introduced in JDK7.
Shows how to use a custom resource with the try-with-resources construct. For more information, see the source file.
Source: src/CustomAutoCloseableSample.javaExtracts archived files. For more information, see the source file.
Source: src/Unzip.javaPrints data about a specified file from an archive. For more information, see the source file.
Source: src/ZipCat.java