#include <java_io_Writer.h>
Inheritance diagram for java::io::Writer:


Public Types | |
| enum | { xmogDefaultFlags = xmog_base::GLOBAL, xmogMajorVersion = 3, xmogMinorVersion = 2, xmogPatchVersion = 9, xmogBuildNumber = 2047 } |
|
typedef ::xmog_java_array_template< ::java::io::Writer > | array1D |
|
typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::io::Writer > > | array2D |
Public Member Functions | |
| virtual void | close (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Close the stream, flushing it first. | |
| virtual void | flush (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Flush the stream. | |
| virtual void | write (const ::xmog_java_char_array &cbuf, jint off, jint len,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Write a portion of an array of characters. | |
| virtual void | write (const ::java::lang::String &str, jint off, jint len,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Write a portion of a string. | |
| virtual void | write (const ::xmog_java_char_array &cbuf,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Write an array of characters. | |
| virtual void | write (const ::java::lang::String &str,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Write a string. | |
| virtual void | write (jint c,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Write a single character. | |
| Writer (::xmog_dummy _use_java_ctor,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) | |
| Create a new character-stream writer whose critical sections will synchronize on the writer itself. | |
| Writer (const ::java::lang::Object &lock,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) | |
| Create a new character-stream writer whose critical sections will synchronize on the given object. | |
The only methods that a subclass must implement are write(char[], int, int), flush(), and close(). Most subclasses, however, will override some of the methods defined here in order to provide higher efficiency, additional functionality, or both.
|
||||||||||||||||
|
Create a new character-stream writer whose critical sections will synchronize on the given object.
|
|
||||||||||||||||
|
Create a new character-stream writer whose critical sections will synchronize on the writer itself.
|
|
||||||||||||
|
Close the stream, flushing it first. Once a stream has been closed, further write() or flush() invocations will cause an IOException to be thrown. Closing a previously-closed stream, however, has no effect.
Reimplemented in java::io::PrintWriter. |
|
||||||||||||
|
Flush the stream. If the stream has saved any characters from the various write() methods in a buffer, write them immediately to their intended destination. Then, if that destination is another character or byte stream, flush it. Thus one flush() invocation will flush all the buffers in a chain of Writers and OutputStreams.
Reimplemented in java::io::PrintWriter. |
|
||||||||||||||||||||||||
|
Write a portion of an array of characters.
Reimplemented in java::io::PrintWriter. |
|
||||||||||||||||||||||||
|
Write a portion of a string.
Reimplemented in java::io::PrintWriter. |
|
||||||||||||||||
|
Write an array of characters.
Reimplemented in java::io::PrintWriter. |
|
||||||||||||||||
|
Write a string.
Reimplemented in java::io::PrintWriter. |
|
||||||||||||||||
|
Write a single character. The character to be written is contained in the 16 low-order bits of the given integer value; the 16 high-order bits are ignored. Subclasses that intend to support efficient single-character output should override this method.
Reimplemented in java::io::PrintWriter. |
1.4.1