public void close() throws IOException {
  if (input != null) {
    input.close();
    input=null;
  }
}

public void close ( ) throws IOException { if ( input != null ) { input . close ( ) ; input = null ; } }
closes this character stream , as well as the the reader it its iterating over .
