Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.io.unsync
Class UnsyncTeeWriter

java.lang.Object
  extended by java.io.Writer
      extended by com.liferay.portal.kernel.io.unsync.UnsyncTeeWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable

public class UnsyncTeeWriter
extends Writer


Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
UnsyncTeeWriter(Writer writer1, Writer writer2)
           
 
Method Summary
 Writer append(char c)
           
 Writer append(CharSequence charSequence)
           
 Writer 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 write(String string)
           
 void write(String string, int offset, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnsyncTeeWriter

public UnsyncTeeWriter(Writer writer1,
                       Writer writer2)
Method Detail

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 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

Liferay 6.1.2-ce-ga3