jestr.generic.io.core
Class ColumnTrackingFilterWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
jestr.generic.io.core.ColumnTrackingFilterWriter
- class ColumnTrackingFilterWriter
- extends java.io.FilterWriter
Fields inherited from class java.io.FilterWriter |
out |
Fields inherited from class java.io.Writer |
lock |
Methods inherited from class java.io.FilterWriter |
close |
Methods inherited from class java.io.Writer |
write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnTrackingFilterWriter
public ColumnTrackingFilterWriter()
ColumnTrackingFilterWriter
public ColumnTrackingFilterWriter(java.io.Writer w)
inheritSettings
public void inheritSettings(ColumnTrackingFilterWriter from)
getOut
public java.io.Writer getOut()
getTabLength
public int getTabLength()
setTabLength
public void setTabLength(int n)
softNewline
public void softNewline()
throws java.io.IOException
- Throws:
java.io.IOException
getColumn
public int getColumn()
setColumn
public void setColumn(int n)
flush
public void flush()
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int c)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(java.lang.String str,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
endOfLine
protected java.lang.String endOfLine()
beforeFirstCharOfLine
protected java.lang.String beforeFirstCharOfLine()
getLineNumber
public int getLineNumber()
setLineNumber
public void setLineNumber(int n)
main
public static void main(java.lang.String[] argv)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
Copyright (c) 2001-2003 - Apache Software Foundation