code: public void close()
          throws IOException
      {
          InputStream is = _is;
          _is = null;
  
          if (is != null)
              is.close();
  
          _state.println();
      }
docs: closes the stream.