Package org.jboss.jdeparser
Class CountingWriter
java.lang.Object
java.io.Writer
org.jboss.jdeparser.CountingWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
-
Field Details
-
buffer
private final char[] buffer -
out
-
line
private int line -
column
private int column -
bsz
private int bsz
-
-
Constructor Details
-
CountingWriter
CountingWriter(Writer out)
-
-
Method Details
-
write
- Specified by:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
getLine
int getLine() -
getColumn
int getColumn()
-