1 package org.apache.tools.bzip2;
3 import java.io.IOException;
4 import java.io.InputStream;
6 public class CBZip2InputStreamFactory {
9 * jsjava addition for reflection
12 * @return BZip2 input stream
15 public CBZip2InputStream getStream(InputStream is) throws IOException {
16 is.read(new byte[2], 0, 2);
17 return new CBZip2InputStream(is);