org.melati.util
Class FtellPrintWriter
java.lang.Object
java.io.Writer
java.io.PrintWriter
org.melati.util.FtellPrintWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class FtellPrintWriter
- extends PrintWriter
A PrintWriter
which knows how much it has written.
Methods inherited from class java.io.PrintWriter |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
position
protected long position
FtellPrintWriter
public FtellPrintWriter(Writer writer)
- Constructor.
- Parameters:
writer
- to write to
write
public void write(int c)
-
- Overrides:
write
in class PrintWriter
- See Also:
PrintWriter.write(int)
write
public void write(char[] buf,
int off,
int len)
-
- Overrides:
write
in class PrintWriter
- See Also:
PrintWriter.write(char[], int, int)
write
public void write(String buf,
int off,
int len)
-
- Overrides:
write
in class PrintWriter
- See Also:
PrintWriter.write(java.lang.String, int, int)
ftell
public long ftell()
- Returns:
- number of characters written
Copyright © 2000-2010 PanEris. All Rights Reserved.