public void close(){
  if (stream != null) {
    try {
      stream.close();
    }
 catch (    IOException e) {
      e.printStackTrace();
    }
    reset(null,false);
  }
}

public void close ( ) { if ( stream != null ) { try { stream . close ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } reset ( null , false ) ; } }
close the current stream being used by the pojo .
