public void close() throws IOException {
  if (io != null) {
    try {
      io.close();
    }
  finally {
      io=null;
    }
  }
}

public void close ( ) throws IOException { if ( io != null ) { try { io . close ( ) ; } finally { io = null ; } } }
close the readerwriter / writer , if it is open
