|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.openfoundation.io.XPWriter com.plumtree.openfoundation.io.XPOutputStreamWriter
XPOutputStreamWriter is a wrapper over java.io.OutputStreamWriter or System.IO.StreamWriter.
Field Summary |
Fields inherited from class com.plumtree.openfoundation.io.XPWriter |
writer |
Constructor Summary | |
XPOutputStreamWriter(java.io.OutputStream outputStream)
Creates a new XPOutputStreamWriter object that wraps the OutputStream. |
|
XPOutputStreamWriter(java.io.OutputStream outputStream,
java.lang.String encoding)
Creates a new XPOutputStreamWriter object that wraps the OutputStream. |
|
XPOutputStreamWriter(java.io.OutputStreamWriter outputStreamWriter)
Creates a new XPOutputStreamWriter object that wraps the OutputStreamWriter. |
|
XPOutputStreamWriter(XPOutputStream xpOutputStream)
Creates a new XPOutputStreamWriter object that wraps the OutputStream. |
Method Summary | |
void |
Close()
Close the stream. |
void |
Flush()
Flush the stream. |
java.io.OutputStreamWriter |
GetUnderlyingObject()
Returns the platform specific object that this class wraps. |
void |
Write(char[] buffer)
Write an array of characters. |
void |
Write(int b)
Write a single character. |
void |
Write(java.lang.String buffer)
Write a string. |
void |
Write(java.lang.String buffer,
int offset,
int count)
Write a portion of a string. |
Methods inherited from class com.plumtree.openfoundation.io.XPWriter |
NullWriter, WriteLine, WriteLine, WriteLine, WriteLine, WriteLine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XPOutputStreamWriter(java.io.OutputStreamWriter outputStreamWriter)
outputStreamWriter
- An instance of OutputStreamWriterpublic XPOutputStreamWriter(java.io.OutputStream outputStream)
outputStream
- An instance of OutputStreamWriterpublic XPOutputStreamWriter(XPOutputStream xpOutputStream)
xpOutputStream
- An instance of XPOutputStreamWriterpublic XPOutputStreamWriter(java.io.OutputStream outputStream, java.lang.String encoding)
outputStream
- an instance of OutputStreamWriterencoding
- the name of a supported charsetMethod Detail |
public void Close()
Close
in class XPWriter
XPIOException
- An instance of XPIOExceptionpublic void Flush()
Flush
in class XPWriter
XPIOException
- An instance of XPIOExceptionpublic void Write(int b)
Write
in class XPWriter
b
- int representing character to write.
XPIOException
- An instance of XPIOExceptionpublic void Write(char[] buffer)
Write
in class XPWriter
buffer
- Buffer of characters
XPIOException
- An instance of XPIOExceptionpublic void Write(java.lang.String buffer)
Write
in class XPWriter
buffer
- A string
XPIOException
- An instance of XPIOExceptionpublic void Write(java.lang.String buffer, int offset, int count)
Write
in class XPWriter
buffer
- A Stringoffset
- Offset from which to start writing characterscount
- Number of characters to write
XPIOException
- An instance of XPIOExceptionpublic java.io.OutputStreamWriter GetUnderlyingObject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |