public ZipExtractor into ( File directory ) throws IOException { try { ensureThatDirectoryExists ( directory ) ; writeEntriesIntoDirectory ( directory ) ; return this ; } catch ( IOException cause ) { close ( ) ; throw cause ; } }
Extracts the zip content into a file . It only automatically closes the stream when an exception is thrown .