private static InputStreamReader decompressWithBZip2 ( final String archivePath ) throws ConfigurationException { Bzip2Archiver archiver = new Bzip2Archiver ( ) ; InputStreamReader reader = null ; try { reader = archiver . getDecompressionStream ( archivePath , WIKIPEDIA_ENCODING ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } return reader ; }
Starts a decompression process using the BZip2 program .