public static FileUtils . FileCopyResult unzip ( final ByteSource byteSource , final File outDir , boolean cacheLocally ) throws IOException { return unzip ( byteSource , outDir , FileUtils . IS_EXCEPTION , cacheLocally ) ; }
Unzip the byteSource to the output directory . If cacheLocally is true the byteSource is cached to local disk before unzipping . This may cause more predictable behavior than trying to unzip a large file directly off a network stream for example .