Liferay 6.2-ce-ga5

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

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

public class UnsyncPrintWriter
extends PrintWriter

See http://issues.liferay.com/browse/LPS-6648.


Field Summary
 
Fields inherited from class java.io.PrintWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
UnsyncPrintWriter(File file)
           
UnsyncPrintWriter(File file, String csn)
           
UnsyncPrintWriter(OutputStream outputStream)
           
UnsyncPrintWriter(String fileName)
           
UnsyncPrintWriter(String fileName, String csn)
           
UnsyncPrintWriter(Writer writer)
           
 
Method Summary
 PrintWriter append(char c)
           
 PrintWriter append(CharSequence charSequence)
           
 PrintWriter append(CharSequence charSequence, int start, int end)
           
 boolean checkError()
           
 void close()
           
 void flush()
           
 PrintWriter format(Locale locale, String format, Object... arguments)
           
 PrintWriter format(String format, Object... arguments)
           
 void print(boolean b)
           
 void print(char c)
           
 void print(char[] chars)
           
 void print(double d)
           
 void print(float f)
           
 void print(int i)
           
 void print(long l)
           
 void print(Object object)
           
 void print(String string)
           
 PrintWriter printf(Locale locale, String format, Object... arguments)
           
 PrintWriter printf(String format, Object... arguments)
           
 void println()
           
 void println(boolean b)
           
 void println(char c)
           
 void println(char[] chars)
           
 void println(double d)
           
 void println(float f)
           
 void println(int i)
           
 void println(long l)
           
 void println(Object object)
           
 void println(String string)
           
 void reset(Writer writer)
           
 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.io.PrintWriter
clearError, setError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnsyncPrintWriter

public UnsyncPrintWriter(File file)
                  throws IOException
Throws:
IOException

UnsyncPrintWriter

public UnsyncPrintWriter(File file,
                         String csn)
                  throws FileNotFoundException
Throws:
FileNotFoundException

UnsyncPrintWriter

public UnsyncPrintWriter(OutputStream outputStream)

UnsyncPrintWriter

public UnsyncPrintWriter(String fileName)
                  throws IOException
Throws:
IOException

UnsyncPrintWriter

public UnsyncPrintWriter(String fileName,
                         String csn)
                  throws FileNotFoundException
Throws:
FileNotFoundException

UnsyncPrintWriter

public UnsyncPrintWriter(Writer writer)
Method Detail

append

public PrintWriter append(char c)
Specified by:
append in interface Appendable
Overrides:
append in class PrintWriter

append

public PrintWriter append(CharSequence charSequence)
Specified by:
append in interface Appendable
Overrides:
append in class PrintWriter

append

public PrintWriter append(CharSequence charSequence,
                          int start,
                          int end)
Specified by:
append in interface Appendable
Overrides:
append in class PrintWriter

checkError

public boolean checkError()
Overrides:
checkError in class PrintWriter

close

public void close()
Specified by:
close in interface Closeable
Specified by:
close in interface AutoCloseable
Overrides:
close in class PrintWriter

flush

public void flush()
Specified by:
flush in interface Flushable
Overrides:
flush in class PrintWriter

format

public PrintWriter format(Locale locale,
                          String format,
                          Object... arguments)
Overrides:
format in class PrintWriter

format

public PrintWriter format(String format,
                          Object... arguments)
Overrides:
format in class PrintWriter

print

public void print(boolean b)
Overrides:
print in class PrintWriter

print

public void print(char c)
Overrides:
print in class PrintWriter

print

public void print(char[] chars)
Overrides:
print in class PrintWriter

print

public void print(double d)
Overrides:
print in class PrintWriter

print

public void print(float f)
Overrides:
print in class PrintWriter

print

public void print(int i)
Overrides:
print in class PrintWriter

print

public void print(long l)
Overrides:
print in class PrintWriter

print

public void print(Object object)
Overrides:
print in class PrintWriter

print

public void print(String string)
Overrides:
print in class PrintWriter

printf

public PrintWriter printf(Locale locale,
                          String format,
                          Object... arguments)
Overrides:
printf in class PrintWriter

printf

public PrintWriter printf(String format,
                          Object... arguments)
Overrides:
printf in class PrintWriter

println

public void println()
Overrides:
println in class PrintWriter

println

public void println(boolean b)
Overrides:
println in class PrintWriter

println

public void println(char c)
Overrides:
println in class PrintWriter

println

public void println(char[] chars)
Overrides:
println in class PrintWriter

println

public void println(double d)
Overrides:
println in class PrintWriter

println

public void println(float f)
Overrides:
println in class PrintWriter

println

public void println(int i)
Overrides:
println in class PrintWriter

println

public void println(long l)
Overrides:
println in class PrintWriter

println

public void println(Object object)
Overrides:
println in class PrintWriter

println

public void println(String string)
Overrides:
println in class PrintWriter

reset

public void reset(Writer writer)

write

public void write(char[] chars)
Overrides:
write in class PrintWriter

write

public void write(char[] chars,
                  int offset,
                  int length)
Overrides:
write in class PrintWriter

write

public void write(int c)
Overrides:
write in class PrintWriter

write

public void write(String string)
Overrides:
write in class PrintWriter

write

public void write(String string,
                  int offset,
                  int length)
Overrides:
write in class PrintWriter

Liferay 6.2-ce-ga5