|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.openfoundation.io.XPWriter
com.plumtree.openfoundation.io.XPBufferedWriter
public class XPBufferedWriter
Corresponds to java.io.BufferedWriter or System.IO.TextWriter.
| Field Summary |
|---|
| Fields inherited from class com.plumtree.openfoundation.io.XPWriter |
|---|
writer |
| Constructor Summary | |
|---|---|
XPBufferedWriter(java.io.BufferedWriter bufferedWriter)
Creates a new XPBufferedWriter that wraps the BufferedWriter. |
|
XPBufferedWriter(java.io.Writer writer)
Constructs a XPBufferedWriter object. |
|
XPBufferedWriter(XPWriter drain)
Constructs a XPBufferedWriter object. |
|
| Method Summary | |
|---|---|
java.io.BufferedWriter |
GetUnderlyingObject()
Returns the underlying platform-specific instance for framework use. |
void |
WriteLine(char[] buffer)
Writes an array of characters, followed by a line terminator to the stream. |
void |
WriteLine(int b)
Writes a single character, followed by a line terminator to the stream. |
void |
WriteLine(java.lang.String line)
Writes a string, followed by a line terminator to the stream. |
void |
WriteLine(java.lang.String buffer,
int offset,
int count)
Writes a portion of a string, followed by a line terminator to the stream. |
| Methods inherited from class com.plumtree.openfoundation.io.XPWriter |
|---|
Close, Flush, NullWriter, Write, Write, Write, Write, WriteLine |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XPBufferedWriter(XPWriter drain)
drain - A XPWriter.public XPBufferedWriter(java.io.Writer writer)
writer - A Writer.public XPBufferedWriter(java.io.BufferedWriter bufferedWriter)
bufferedWriter - An instance of bufferedWriter| Method Detail |
|---|
public void WriteLine(int b)
WriteLine in class XPWriterb - A character
XPIOExceptionpublic void WriteLine(char[] buffer)
WriteLine in class XPWriterbuffer - Array of characters
XPIOException
public void WriteLine(java.lang.String buffer,
int offset,
int count)
WriteLine in class XPWriterbuffer - A stringoffset - Offset from which to start reading characterscount - Number of characters to write
XPIOExceptionpublic java.io.BufferedWriter GetUnderlyingObject()
public void WriteLine(java.lang.String line)
WriteLine in class XPWriterline - A String.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||