java.lang.Object
java.io.Reader
java.io.PipedReader
- All Implemented Interfaces:
- Closeable, Readable
- See Also:
- Top Examples, Source Code
public void close()
throws IOException
- See Also:
- Reader, Closeable
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void connect(PipedWriter src)
throws IOException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[471]Create a pipe
By llando on 2004/03/26 09:01:44 Rate
PipedReader pipe_out = new PipedReader ( ) ;
PipedWriter pipe_in = new PipedWriter ( ) ;
pipe_out.connect ( pipe_in ) ;
pipe_in.write ( "anything" ) ;
// now open pipe_out like a normal Reader
public PipedReader()
- See Also:
PipedWriter.connect(java.io.PipedReader)
, connect(java.io.PipedWriter)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public PipedReader(PipedWriter src)
throws IOException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int read()
throws IOException
- See Also:
- Reader
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int read(char[] cbuf,
int off,
int len)
throws IOException
- See Also:
- Reader
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean ready()
throws IOException
- See Also:
- Reader
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples