|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthings.thinger.io.EchoStreamSource
public class EchoStreamSource
An echoing stream source. Everything read will be copied to the given output stream.
Version History
EPG - Initial - 20 FEB 05
Constructor Summary | |
---|---|
EchoStreamSource()
|
Method Summary | |
---|---|
boolean |
hasMore()
Does the source have more to get? |
int |
next()
Get the next character. |
EchoStreamSource |
use(java.io.InputStream source,
java.io.OutputStream echoStream)
Use this object but with another stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EchoStreamSource()
Method Detail |
---|
public EchoStreamSource use(java.io.InputStream source, java.io.OutputStream echoStream) throws java.lang.Exception
source
- The input stream source.
java.lang.Exception
public int next() throws java.lang.Exception
next
in interface StreamSource
java.lang.Exception
public boolean hasMore() throws java.lang.Exception
hasMore
in interface StreamSource
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |