public void compress ( ) throws ArchiverException { try { zOut = new SnappyOutputStream ( bufferedOutputStream ( fileOutputStream ( getDestFile ( ) ) ) ) ; compress ( getSource ( ) , zOut ) ; } catch ( IOException ioe ) { String msg = "Problem creating snappy " + ioe . getMessage ( ) ; throw new ArchiverException ( msg , ioe ) ; } }
perform the Snappy compression operation .