|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.openfoundation.io.XPInputStreamReader
XPInputStreamReader is a wrapper over InputStreamReader.
Constructor Summary | |
XPInputStreamReader(java.io.InputStream stream)
Creates a new XPInputStreamReader object that wraps the InputStream. |
|
XPInputStreamReader(java.io.InputStreamReader reader)
Creates a new XPInputStreamReader object that wraps the InputStreamReader. |
|
XPInputStreamReader(java.io.InputStream stream,
java.lang.String encoding)
Creates a new XPInputStreamReader object that wraps the InputStream. |
|
XPInputStreamReader(XPInputStream stream)
Creates a new XPInputStreamReader object that wraps the XPInputStream. |
Method Summary | |
void |
Close()
Close the stream. |
java.io.InputStreamReader |
GetUnderlyingObject()
Returns the platform specific object that this class wraps. |
int |
Read()
Read a single character. |
int |
Read(char[] buffer,
int index,
int count)
Read characters into a portion of an array. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XPInputStreamReader(java.io.InputStreamReader reader)
reader
- An instance of InputStreamReaderpublic XPInputStreamReader(java.io.InputStream stream)
stream
- An instance of InputStreampublic XPInputStreamReader(java.io.InputStream stream, java.lang.String encoding)
stream
- An instance of InputStreamencoding
- The name of a supported charsetpublic XPInputStreamReader(XPInputStream stream)
stream
- An instance of XPInputStreamMethod Detail |
public void Close()
public java.io.InputStreamReader GetUnderlyingObject()
public int Read()
public int Read(char[] buffer, int index, int count)
buffer
- Destination bufferindex
- Index of buffer at which to begin writing.count
- Maximum number of characters to read
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |