|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.InputStream
echopointng.ui.util.io.StringInputStream
public class StringInputStream
StringInputStream can read a String and return it as an
InputStream.
| Constructor Summary | |
|---|---|
StringInputStream(java.lang.String s)
Constructs a StringInputStream from the specified
String |
|
| Method Summary | |
|---|---|
int |
available()
|
int |
read()
|
int |
read(byte[] b,
int off,
int len)
|
void |
reset()
|
long |
skip(long n)
|
| Methods inherited from class java.io.InputStream |
|---|
close, mark, markSupported, read |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringInputStream(java.lang.String s)
StringInputStream from the specified
String
s - - the string to read| Method Detail |
|---|
public int read()
read in class java.io.InputStreamInputStream.read()
public int read(byte[] b,
int off,
int len)
read in class java.io.InputStreamInputStream.read(byte[], int, int)public long skip(long n)
skip in class java.io.InputStreamInputStream.skip(long)public int available()
available in class java.io.InputStreamInputStream.available()public void reset()
reset in class java.io.InputStreamInputStream.reset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||