|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Writer
java.io.PrintWriter
org.codehaus.groovy.grails.web.util.GrailsPrintWriter
org.codehaus.groovy.grails.web.util.CodecPrintWriter
public class CodecPrintWriter
| Field Summary | |
|---|---|
(package private) Method |
encodeMethod
|
(package private) Class<?> |
encodeParamType
|
| Fields inherited from class org.codehaus.groovy.grails.web.util.GrailsPrintWriter |
|---|
allowUnwrappingOut, CRLF, LOG, out, trouble, usageFlag |
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
CodecPrintWriter(Writer out,
Class<?> codecClass)
|
|
| Method Summary | |
|---|---|
PrintWriter |
append(char c)
|
PrintWriter |
append(CharSequence csq)
|
PrintWriter |
append(CharSequence csq,
int start,
int end)
|
GrailsPrintWriter |
append(Object obj)
|
void |
append(StreamCharBuffer otherBuffer)
|
protected Object |
clone()
|
GrailsPrintWriter |
leftShift(StreamCharBuffer otherBuffer)
|
GrailsPrintWriter |
leftShift(groovy.lang.Writable writable)
|
void |
print(boolean b)
delegate methods, not synchronized |
void |
print(char c)
|
void |
print(char[] s)
|
void |
print(double d)
|
void |
print(float f)
|
void |
print(int i)
|
void |
print(long l)
|
void |
print(Object obj)
Print an object. |
void |
print(StreamCharBuffer otherBuffer)
|
void |
print(String s)
Print a string. |
void |
print(groovy.lang.Writable writable)
|
void |
println()
|
void |
println(boolean b)
|
void |
println(char c)
|
void |
println(char[] c)
|
void |
println(double d)
|
void |
println(float f)
|
void |
println(int i)
|
void |
println(long l)
|
void |
println(Object o)
|
void |
println(StreamCharBuffer otherBuffer)
|
void |
println(String s)
|
void |
write(char[] buf)
|
void |
write(char[] buf,
int off,
int len)
Write a portion of an array of characters. |
void |
write(int c)
Write a single character. |
void |
write(StreamCharBuffer otherBuffer)
|
void |
write(String s)
Writes a string. |
void |
write(String s,
int off,
int len)
Write a portion of a string. |
void |
write(groovy.lang.Writable writable)
|
| Methods inherited from class org.codehaus.groovy.grails.web.util.GrailsPrintWriter |
|---|
checkError, findStreamCharBufferTarget, flush, getFinalTarget, getOut, handleIOException, isAllowUnwrappingOut, isFinalTargetHere, isUsed, leftShift, plus, resetUsed, setFinalTargetHere, setUsed |
| Methods inherited from class java.io.PrintWriter |
|---|
clearError, close, format, format, printf, printf, setError |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
Method encodeMethod
Class<?> encodeParamType
| Constructor Detail |
|---|
public CodecPrintWriter(Writer out,
Class<?> codecClass)
| Method Detail |
|---|
public void print(Object obj)
String.valueOf(Object) method is translated into bytes
according to the platform's default character encoding, and these bytes
are written in exactly the manner of the write(int)
method.
print in class GrailsPrintWriterobj - The Object to be printedObject.toString()public void print(String s)
null then the string
"" is printed. Otherwise, the string's characters are
converted into bytes according to the platform's default character
encoding, and these bytes are written in exactly the manner of the
write(int) method.
print in class GrailsPrintWriters - The String to be printedpublic void write(String s)
null then the string
"" is printed.
write in class GrailsPrintWriters - The String to be printedpublic void write(int c)
write in class GrailsPrintWriterc - int specifying a character to be written.
public void write(char[] buf,
int off,
int len)
write in class GrailsPrintWriterbuf - Array of charactersoff - Offset from which to start writing characterslen - Number of characters to write
public void write(String s,
int off,
int len)
write in class GrailsPrintWriters - A Stringoff - Offset from which to start writing characterslen - Number of characters to writepublic void write(char[] buf)
write in class GrailsPrintWriterpublic void print(boolean b)
print in class GrailsPrintWriterpublic void print(char c)
print in class GrailsPrintWriterpublic void print(int i)
print in class GrailsPrintWriterpublic void print(long l)
print in class GrailsPrintWriterpublic void print(float f)
print in class GrailsPrintWriterpublic void print(double d)
print in class GrailsPrintWriterpublic void print(char[] s)
print in class GrailsPrintWriterpublic void println()
println in class GrailsPrintWriterpublic void println(boolean b)
println in class GrailsPrintWriterpublic void println(char c)
println in class GrailsPrintWriterpublic void println(int i)
println in class GrailsPrintWriterpublic void println(long l)
println in class GrailsPrintWriterpublic void println(float f)
println in class GrailsPrintWriterpublic void println(double d)
println in class GrailsPrintWriterpublic void println(char[] c)
println in class GrailsPrintWriterpublic void println(String s)
println in class GrailsPrintWriterpublic void println(Object o)
println in class GrailsPrintWriterpublic PrintWriter append(char c)
append in interface Appendableappend in class GrailsPrintWriter
public PrintWriter append(CharSequence csq,
int start,
int end)
append in interface Appendableappend in class GrailsPrintWriterpublic PrintWriter append(CharSequence csq)
append in interface Appendableappend in class GrailsPrintWriterpublic GrailsPrintWriter append(Object obj)
append in class GrailsPrintWriter
protected Object clone()
throws CloneNotSupportedException
clone in class GrailsPrintWriterCloneNotSupportedExceptionpublic void write(StreamCharBuffer otherBuffer)
write in class GrailsPrintWriterpublic void print(StreamCharBuffer otherBuffer)
print in class GrailsPrintWriterpublic void append(StreamCharBuffer otherBuffer)
append in class GrailsPrintWriterpublic void println(StreamCharBuffer otherBuffer)
println in class GrailsPrintWriterpublic GrailsPrintWriter leftShift(StreamCharBuffer otherBuffer)
leftShift in class GrailsPrintWriterpublic void write(groovy.lang.Writable writable)
write in class GrailsPrintWriterpublic void print(groovy.lang.Writable writable)
print in class GrailsPrintWriterpublic GrailsPrintWriter leftShift(groovy.lang.Writable writable)
leftShift in class GrailsPrintWriter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||