|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Writer
oracle.adfnmc.java.io.Writer
oracle.adfnmc.java.io.PrintWriter
public class PrintWriter
Field Summary | |
---|---|
static java.lang.Class |
CLASS_INSTANCE
|
Fields inherited from class oracle.adfnmc.java.io.Writer |
---|
lock |
Constructor Summary | |
---|---|
PrintWriter(java.io.OutputStream stream)
|
|
PrintWriter(java.io.OutputStream stream,
boolean autoFlush)
|
|
PrintWriter(java.io.Writer wr)
Constructs a new PrintWriter on the Writer wr . |
|
PrintWriter(java.io.Writer wr,
boolean autoflush)
Constructs a new PrintWriter on the given writer. |
Method Summary | |
---|---|
boolean |
checkError()
|
void |
close()
Close this Writer. |
void |
flush()
Flush this Writer. |
void |
print(boolean bool)
|
void |
print(char ch)
Prints the String representation of the character parameter ch to the target Writer. |
void |
print(char[] charArray)
Prints the String representation of the character array parameter charArray to the target Writer. |
void |
print(double dnum)
Prints the String representation of the double parameter dnum to the target Writer. |
void |
print(float fnum)
Prints the String representation of the float parameter fnum to the target Writer. |
void |
print(int inum)
Prints the String representation of the int parameter inum to the target Writer. |
void |
print(long lnum)
Prints the String representation of the long parameter lnum to the target Writer. |
void |
print(java.lang.Object obj)
|
void |
print(java.lang.String x)
|
void |
println()
|
void |
println(boolean bool)
Prints the String representation of the boolean parameter bool to the target Writer
followed by the System property "line.separator" . |
void |
println(char ch)
Prints the String representation of the character parameter ch to the target Writer followed by the
System property "line.separator" . |
void |
println(char[] charArray)
Prints the String representation of the character array parameter charArray to the target Writer
followed by the System property "line.separator" . |
void |
println(double dnum)
Prints the String representation of the double parameter dnum to the target Writer
followed by the System property "line.separator" . |
void |
println(float fnum)
Prints the String representation of the float parameter fnum to the target Writer
followed by the System property "line.separator" . |
void |
println(int inum)
Prints the String representation of the int parameter inum to the target Writer followed
by the System property "line.separator" . |
void |
println(long lnum)
Prints the String representation of the long parameter lnum to the target Writer followed
by the System property "line.separator" . |
void |
println(java.lang.Object obj)
Prints the String representation of the Object parameter obj to the target Writer
followed by the System property "line.separator" . |
void |
println(java.lang.String x)
|
protected void |
setError()
|
void |
write(char[] buf)
Writes the entire character buffer buf to this Writer. |
void |
write(char[] buffer,
int offset,
int length)
Writes count characters starting at offset |
void |
write(int oneChar)
Writes the specified character oneChar to this Writer. |
void |
write(java.lang.String str)
Writes the characters from the String str to this Writer. |
void |
write(java.lang.String str,
int offset,
int count)
Writes count characters from the String str starting at offset to this
Writer. |
Methods inherited from class oracle.adfnmc.java.io.Writer |
---|
append |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class CLASS_INSTANCE
Constructor Detail |
---|
public PrintWriter(java.io.OutputStream stream)
public PrintWriter(java.io.OutputStream stream, boolean autoFlush)
public PrintWriter(java.io.Writer wr)
wr
. All writes to the target can now take place through
this PrintWriter. By default, the PrintWriter is set to not autoflush when println() is called.
wr
- the Writer to provide convenience methods on.public PrintWriter(java.io.Writer wr, boolean autoflush)
wr
- the Writer to provide convenience methods on.autoflush
- whether to flush when println() is called.Method Detail |
---|
public void close()
Writer
close
in interface Closeable
close
in class Writer
public void flush()
Writer
flush
in interface Flushable
flush
in class Writer
public void write(char[] buffer, int offset, int length)
Writer
count
characters starting at offset in
buf
to this Writer. This abstract method must be implemented by concrete subclasses.
- Specified by:
write
in class Writer
- Parameters:
buffer
- the non-null array containing characters to write.offset
- offset in buf to retrieve characterslength
- maximum number of characters to write
public void write(java.lang.String str)
Writer
str
to this Writer.
write
in class Writer
str
- the non-null String containing the characters to write.public void write(char[] buf)
Writer
buf
to this Writer.
write
in class Writer
buf
- the non-null array containing characters to write.public void print(java.lang.String x)
public void print(char[] charArray)
charArray
to the target Writer.
charArray
- the character array to print on this Writer.public void println(java.lang.String x)
public void println()
protected void setError()
public boolean checkError()
public void print(boolean bool)
public void print(java.lang.Object obj)
public void print(double dnum)
double
parameter dnum
to the target Writer.
dnum
- the double
to print on this Writer.public void print(float fnum)
float
parameter fnum
to the target Writer.
fnum
- the float
to print on this Writer.public void print(int inum)
int
parameter inum
to the target Writer.
inum
- the int
to print on this Writer.public void print(long lnum)
long
parameter lnum
to the target Writer.
lnum
- the long
to print on this Writer.public void println(char[] charArray)
charArray
to the target Writer
followed by the System property "line.separator"
.
charArray
- the character array to print on this Writer.public void print(char ch)
ch
to the target Writer.
ch
- the character to print on this Writer.public void write(int oneChar)
Writer
oneChar
to this Writer. This implementation writes the low order two
bytes of oneChar
to the Stream.
write
in class Writer
oneChar
- The character to writepublic void println(char ch)
ch
to the target Writer followed by the
System property "line.separator"
.
ch
- the character to print on this Writer.public void println(double dnum)
double
parameter dnum
to the target Writer
followed by the System property "line.separator"
.
dnum
- the double to print on this Writer.public void println(float fnum)
float
parameter fnum
to the target Writer
followed by the System property "line.separator"
.
fnum
- the float to print on this Writer.public void println(int inum)
int
parameter inum
to the target Writer followed
by the System property "line.separator"
.
inum
- the int to print on this Writer.public void println(long lnum)
long
parameter lnum
to the target Writer followed
by the System property "line.separator"
.
lnum
- the long to print on this Writer.public void println(java.lang.Object obj)
Object
parameter obj
to the target Writer
followed by the System property "line.separator"
.
obj
- the Object
to print on this Writer.public void println(boolean bool)
boolean
parameter bool
to the target Writer
followed by the System property "line.separator"
.
bool
- the boolean to print on this Writer.public void write(java.lang.String str, int offset, int count)
count
characters from the String str
starting at offset
to this
Writer.
write
in class Writer
str
- the non-null String containing the characters to write.offset
- where in str
to get chars from.count
- how many characters to write.
java.lang.ArrayIndexOutOfBoundsException
- If offset or count are outside of bounds.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |