ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Jain" <Eric.J...@isb-sib.ch>
Subject Re: CBZip2InputStream
Date Wed, 24 Sep 2003 12:48:20 GMT
> I'm trying to use the CBZip2InputStream class which is distributed as
> part of Ant in my own application. Unfortunately the constructor
> always throws a NullPointerException. There was some discussion at

Figured it out, sorry for the noise:

  InputStream in = new FileInputStream(file);
  in.read();
  in.read();
  BufferedReader reader = 
    new BufferedReader(
      new InputStreamReader(
        new CBZip2InputStream(in)));

--
Eric Jain


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message