public void close(){
  if (inputStream == null) {
    return;
  }
  try {
    inputStream.close();
  }
 catch (  Exception e) {
    listener.exceptionThrown(e);
  }
}

public void close ( ) { if ( inputStream == null ) { return ; } try { inputStream . close ( ) ; } catch ( Exception e ) { listener . exceptionThrown ( e ) ; } }
close the input stream of xml data .
