Package com.liferay.petra.io
Class DummyWriter
java.lang.Object
java.io.Writer
com.liferay.petra.io.DummyWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend
(char c) append
(CharSequence charSequence) append
(CharSequence charSequence, int start, int end) void
close()
void
flush()
void
write
(char[] chars) void
write
(char[] chars, int offset, int length) void
write
(int c) void
void
Methods inherited from class java.io.Writer
nullWriter
-
Constructor Details
-
DummyWriter
public DummyWriter()
-
-
Method Details
-
append
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classWriter
-
append
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classWriter
-
append
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classWriter
-
close
public void close() -
flush
public void flush() -
write
public void write(char[] chars) -
write
public void write(char[] chars, int offset, int length) -
write
public void write(int c) -
write
-
write
-