Class UnsyncBufferedWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
See https://issues.liferay.com/browse/LPS-6648.
- Author:
- Shuyang Zhou
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnsyncBufferedWriter
(Writer writer) UnsyncBufferedWriter
(Writer writer, int size) -
Method Summary
-
Field Details
-
buffer
protected char[] buffer -
count
protected int count -
size
protected int size -
writer
-
-
Constructor Details
-
UnsyncBufferedWriter
-
UnsyncBufferedWriter
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
newLine
- Throws:
IOException
-
write
- Specified by:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-