|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.openfoundation.io.XPOutputStream
public class XPOutputStream
XPOutputStream corresponds to java.io.OutputStream or System.IO.Stream.
Constructor Summary | |
---|---|
protected |
XPOutputStream()
Constructs a XPOutputStream object. |
|
XPOutputStream(java.io.OutputStream stream)
Creates a new XPOutputStream object. |
Method Summary | |
---|---|
void |
Close()
Closes this output stream and releases any system resources associated with this stream. |
void |
Flush()
Flushes this output stream and forces any buffered output bytes to be written out. |
java.io.OutputStream |
GetUnderlyingObject()
Return the underlying platform-specific object. |
void |
Write(byte[] buffer)
Write a buffer of bytes (typically encoded characters) to the underlying output stream. |
void |
Write(byte[] buffer,
int offset,
int count)
Write part of a buffer of bytes (typically encoded characters) to the underlying output stream. |
void |
Write(int b)
Writes the specified byte to this output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected XPOutputStream()
public XPOutputStream(java.io.OutputStream stream)
stream
- A OutputStream object.Method Detail |
---|
public void Close()
XPIOException
- If an I/O error occurs.public void Flush()
XPIOException
- If an I/O error occurs.public void Write(int b)
b
- the byte.
XPIOException
- If an I/O error occurs. In particular,
an IOException may be thrown if the output stream has been closed.public void Write(byte[] buffer)
buffer
- the data.
XPIOException
- if an I/O error occurs.public void Write(byte[] buffer, int offset, int count)
buffer
- the data.offset
- the start offset in the data.count
- the number of bytes to write.
XPIOException
- if an I/O error occurs.public java.io.OutputStream GetUnderlyingObject()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |