@Override public void close() throws IOException {
  PipedInputStream stream=target;
  if (stream != null) {
    stream.done();
    target=null;
  }
}

@ Override public void close ( ) throws IOException { PipedInputStream stream = target ; if ( stream != null ) { stream . done ( ) ; target = null ; } }
closes this stream . if this stream is connected to an input stream , the input stream is closed and the pipe is disconnected .
