org.zkoss.io
Class PrintWriterX
java.lang.Object
java.io.Writer
java.io.PrintWriter
org.zkoss.io.PrintWriterX
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class PrintWriterX
- extends PrintWriter
Print formatted representations of objects to a text-output stream.
It is the same as java.io.PrintWriter except it provides
an additional method: getOrigin().
- Since:
- 3.0.6
- Author:
- tomyeh
| Methods inherited from class java.io.PrintWriter |
append, append, append, append, append, append, append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrintWriterX
public PrintWriterX(Writer out)
PrintWriterX
public PrintWriterX(Writer out,
boolean autoFlush)
PrintWriterX
public PrintWriterX(OutputStream out)
PrintWriterX
public PrintWriterX(OutputStream out,
boolean autoFlush)
getOrigin
public Writer getOrigin()
- Returns the original writer.
If
PrintWriterX(OutputStream) is used, the returned object
is the encapsulated writer.
Copyright © 2012. All Rights Reserved.