|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.InputStream
jodd.io.StringInputStream
public class StringInputStream
Simple InputStream subclass to fetch all bytes from a String.
AsciiInputStream,
Serialized Form| Field Summary | |
|---|---|
protected int |
available
|
protected int |
charOffset
|
protected java.lang.String |
str
|
protected int |
strOffset
|
| Constructor Summary | |
|---|---|
StringInputStream(java.lang.String s)
|
|
| Method Summary | |
|---|---|
int |
available()
|
int |
read()
|
| Methods inherited from class java.io.InputStream |
|---|
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 |
| Field Detail |
|---|
protected int strOffset
protected int charOffset
protected int available
protected java.lang.String str
| Constructor Detail |
|---|
public StringInputStream(java.lang.String s)
| Method Detail |
|---|
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException
public int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||