/** * @param is */ public TarBzInputStream(InputStream is) throws IOException { super(new BZip2CompressorInputStream(is)); }
/** * @param is * @param blockSize * @param recordSize */ public TarBzInputStream(InputStream is, int blockSize, int recordSize) throws IOException { super(new BZip2CompressorInputStream(is), blockSize, recordSize); }
/** * @param is */ public TarBzInputStream(InputStream is) throws IOException { super(new BZip2CompressorInputStream(is)); }
/** * @param is * @param blockSize */ public TarBzInputStream(InputStream is, int blockSize) throws IOException { super(new BZip2CompressorInputStream(is), blockSize); }
/** * @param is * @param blockSize * @param recordSize */ public TarBzInputStream(InputStream is, int blockSize, int recordSize) throws IOException { super(new BZip2CompressorInputStream(is), blockSize, recordSize); }
/** * @param is * @param blockSize */ public TarBzInputStream(InputStream is, int blockSize) throws IOException { super(new BZip2CompressorInputStream(is), blockSize); }
/** * {@inheritDoc} * * @see org.jboss.shrinkwrap.impl.base.exporter.TarExporterTestBase#getTarInputStreamFromFile(java.io.File) */ @Override protected TarInputStream getTarInputStreamFromFile(final File archive) throws IOException { return new TarInputStream(new BZip2CompressorInputStream(new FileInputStream(archive))); }