public void parse(final InputStream input,final CompressedXmlParserListener listener) throws IOException {
  if (listener == null) {
    throw new IllegalArgumentException("CompressedXmlParser Listener can' be null");
  }
  mListener=listener;
  mData=new byte[input.available()];
  input.read(mData);
  input.close();
  parseCompressedXml();
}

public void parse ( final InputStream input , final CompressedXmlParserListener listener ) throws IOException { if ( listener == null ) { throw new IllegalArgumentException ( "CompressedXmlParser Listener can' be null" ) ; } mListener = listener ; mData = new byte [ input . available ( ) ] ; input . read ( mData ) ; input . close ( ) ; parseCompressedXml ( ) ; }
parses the xml data in the given file ,
