#include <java_io_PrintWriter.h>
Inheritance diagram for java::io::PrintWriter:


Public Types | |
| enum | { xmogDefaultFlags = xmog_base::GLOBAL, xmogMajorVersion = 3, xmogMinorVersion = 2, xmogPatchVersion = 9, xmogBuildNumber = 2047 } |
|
typedef ::xmog_java_array_template< ::java::io::PrintWriter > | array1D |
|
typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::io::PrintWriter > > | array2D |
Public Member Functions | |
| virtual bool | checkError (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Flush the stream if it's not closed and check its error state. | |
| virtual void | close (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Close the stream. | |
| virtual void | flush (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Flush the stream. | |
| virtual void | print (const ::xmog_java_char_array &s,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print an array of characters. | |
| virtual void | print (const ::java::lang::Object &obj,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print an object. | |
| virtual void | print (const ::java::lang::String &s,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print a string. | |
| virtual void | print (jdouble d,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print a double-precision floating-point number. | |
| virtual void | print (jfloat f,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print a floating-point number. | |
| virtual void | print (jlong l,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print a long integer. | |
| virtual void | print (jchar c,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print a character. | |
| virtual void | print (bool b,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print a boolean value. | |
| virtual void | print (jint i,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print an integer. | |
| virtual void | println (const ::xmog_java_char_array &x,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print an array of characters and then terminate the line. | |
| virtual void | println (const ::java::lang::String &x,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print a String and then terminate the line. | |
| virtual void | println (const ::java::lang::Object &x,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print an Object and then terminate the line. | |
| virtual void | println (jdouble x,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print a double-precision floating-point number and then terminate the line. | |
| virtual void | println (jfloat x,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print a floating-point number and then terminate the line. | |
| virtual void | println (jlong x,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print a long integer and then terminate the line. | |
| virtual void | println (jchar x,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print a character and then terminate the line. | |
| virtual void | println (bool x,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print a boolean value and then terminate the line. | |
| virtual void | println (jint x,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Print an integer and then terminate the line. | |
| virtual void | println (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Terminate the current line by writing the line separator string. | |
| PrintWriter (const ::java::io::OutputStream &out, bool autoFlush,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) | |
| Create a new PrintWriter from an existing OutputStream. | |
| PrintWriter (const ::java::io::Writer &out, bool autoFlush,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) | |
| Create a new PrintWriter. | |
| PrintWriter (const ::java::io::OutputStream &out,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) | |
| Create a new PrintWriter, without automatic line flushing, from an existing OutputStream. | |
| PrintWriter (const ::java::io::Writer &out,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) | |
| Create a new PrintWriter, without automatic line flushing. | |
| virtual void | write (const ::xmog_java_char_array &buf, 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 &s, 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 &buf,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Write an array of characters. | |
| virtual void | write (const ::java::lang::String &s,::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. | |
This class implements all of the print methods found in PrintStream. It does not contain methods for writing raw bytes, for which a program should use unencoded byte streams.
Unlike the PrintStream class, if automatic flushing is enabled it will be done only when one of the println() methods is invoked, rather than whenever a newline character happens to be output. The println() methods use the platform's own notion of line separator rather than the newline character.
Methods in this class never throw I/O exceptions. The client may inquire as to whether any errors have occurred by invoking checkError().
Mark Reinhold
|
||||||||||||||||
|
Create a new PrintWriter, without automatic line flushing.
|
|
||||||||||||||||
|
Create a new PrintWriter, without automatic line flushing, from an existing OutputStream. This convenience constructor creates the necessary intermediate OutputStreamWriter, which will convert characters into bytes using the default character encoding.
|
|
||||||||||||||||||||
|
Create a new PrintWriter.
|
|
||||||||||||||||||||
|
Create a new PrintWriter from an existing OutputStream. This convenience constructor creates the necessary intermediate OutputStreamWriter, which will convert characters into bytes using the default character encoding.
|
|
||||||||||||
|
Flush the stream if it's not closed and check its error state. Errors are cumulative; once the stream encounters an error, this routine will return true on all successive calls.
|
|
||||||||||||
|
Close the stream.
Reimplemented from java::io::Writer. |
|
||||||||||||
|
Flush the stream.
Reimplemented from java::io::Writer. |
|
||||||||||||||||
|
||||||||||||||||
|
Print an object.
The string produced by the
|
|
||||||||||||||||
|
Print a string.
If the argument is
|
|
||||||||||||||||
|
Print a double-precision floating-point number.
The string produced by
|
|
||||||||||||||||
|
Print a floating-point number.
The string produced by
|
|
||||||||||||||||
|
Print a long integer.
The string produced by
|
|
||||||||||||||||
|
Print a character.
The character is translated into one or more bytes according to the platform's default character encoding, and these bytes are written in exactly the manner of the
|
|
||||||||||||||||
|
Print a boolean value.
The string produced by
|
|
||||||||||||||||
|
Print an integer.
The string produced by
|
|
||||||||||||||||
|
Print an array of characters and then terminate the line.
This method behaves as though it invokes
|
|
||||||||||||||||
|
Print a String and then terminate the line.
This method behaves as though it invokes
|
|
||||||||||||||||
|
Print an Object and then terminate the line.
This method behaves as though it invokes
|
|
||||||||||||||||
|
Print a double-precision floating-point number and then terminate the line.
This method behaves as though it invokes
|
|
||||||||||||||||
|
Print a floating-point number and then terminate the line.
This method behaves as though it invokes
|
|
||||||||||||||||
|
Print a long integer and then terminate the line.
This method behaves as though it invokes
|
|
||||||||||||||||
|
Print a character and then terminate the line.
This method behaves as though it invokes
|
|
||||||||||||||||
|
Print a boolean value and then terminate the line.
This method behaves as though it invokes
|
|
||||||||||||||||
|
Print an integer and then terminate the line.
This method behaves as though it invokes
|
|
||||||||||||
|
Terminate the current line by writing the line separator string.
The line separator string is defined by the system property
|
|
||||||||||||||||||||||||
|
Write a portion of an array of characters.
Reimplemented from java::io::Writer. |
|
||||||||||||||||||||||||
|
Write a portion of a string.
Reimplemented from java::io::Writer. |
|
||||||||||||||||
|
Write an array of characters. This method cannot be inherited from the Writer class because it must suppress I/O exceptions.
Reimplemented from java::io::Writer. |
|
||||||||||||||||
|
Write a string. This method cannot be inherited from the Writer class because it must suppress I/O exceptions.
Reimplemented from java::io::Writer. |
|
||||||||||||||||
|
Write a single character.
Reimplemented from java::io::Writer. |
1.4.1