Code example for PipedOutputStream

Methods: write

0
	public int available() throws IOException { 
		return pi.available();
	} 
 
	protected void setToRead(byte []b) throws IOException {
		po.write(b);
	} 
	 
 
	@Override 
	public void close() throws IOException { 
		pi.close();
		po.close();
	} 
	 
}