Package de.mhus.lib.core.io
Class SizeCountWriter
- java.lang.Object
-
- java.io.Writer
-
- de.mhus.lib.core.io.SizeCountWriter
-
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
public class SizeCountWriter extends Writer
-
-
Constructor Summary
Constructors Constructor Description SizeCountWriter(Writer out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()longgetSize()voidwrite(char[] ac, int i, int j)
-
-
-
Constructor Detail
-
SizeCountWriter
public SizeCountWriter(Writer out)
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Specified by:
flushin classWriter- Throws:
IOException
-
write
public void write(char[] ac, int i, int j) throws IOException- Specified by:
writein classWriter- Throws:
IOException
-
getSize
public long getSize()
-
-