|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.InputStream
hussam.io.StringInputStream
public class StringInputStream
This is an input stream that takes the input from any StringInputReader. By rapping this into a BufferedReader(InputStreamReader()), you would have inputing capability from any source that implements StringInputReader.
| Constructor Summary | |
|---|---|
StringInputStream(StringInputReader reader)
|
|
| Method Summary | |
|---|---|
protected byte[] |
getNewSentence()
Returns an array of bytes representing a sentence. |
int |
read()
|
| Methods inherited from class java.io.InputStream |
|---|
available, close, mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringInputStream(StringInputReader reader)
| Method Detail |
|---|
public int read()
read in class java.io.InputStreamprotected byte[] getNewSentence()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||