com.liferay.portal.kernel.io.unsync
Class UnsyncTeeWriter
java.lang.Object
java.io.Writer
com.liferay.portal.kernel.io.unsync.UnsyncTeeWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable, AutoCloseable
public class UnsyncTeeWriter
- extends Writer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnsyncTeeWriter
public UnsyncTeeWriter(Writer writer1,
Writer writer2)
append
public Writer append(char c)
throws IOException
- Specified by:
append in interface Appendable- Overrides:
append in class Writer
- Throws:
IOException
append
public Writer append(CharSequence charSequence)
throws IOException
- Specified by:
append in interface Appendable- Overrides:
append in class Writer
- Throws:
IOException
append
public Writer append(CharSequence charSequence,
int start,
int end)
throws IOException
- Specified by:
append in interface Appendable- Overrides:
append in class Writer
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Specified by:
close in interface AutoCloseable- Specified by:
close in class Writer
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush in interface Flushable- Specified by:
flush in class Writer
- Throws:
IOException
write
public void write(char[] chars)
throws IOException
- Overrides:
write in class Writer
- Throws:
IOException
write
public void write(char[] chars,
int offset,
int length)
throws IOException
- Specified by:
write in class Writer
- Throws:
IOException
write
public void write(int c)
throws IOException
- Overrides:
write in class Writer
- Throws:
IOException
write
public void write(String string)
throws IOException
- Overrides:
write in class Writer
- Throws:
IOException
write
public void write(String string,
int offset,
int length)
throws IOException
- Overrides:
write in class Writer
- Throws:
IOException