lumis.portal
Class PortalPrintWriter

Package class diagram package PortalPrintWriter
java.lang.Object
  extended by java.io.Writer
      extended by java.io.PrintWriter
          extended by lumis.portal.PortalPrintWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable

@StableMinor(version="5.5",
             sinceVersion="4.0")
public class PortalPrintWriter
extends PrintWriter

PrintWriter with uniqueness feature.

Since:
4.0.0

Field Summary
 
Fields inherited from class java.io.PrintWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
PortalPrintWriter(File file)
           
PortalPrintWriter(File file, String csn)
           
PortalPrintWriter(OutputStream out)
           
PortalPrintWriter(OutputStream out, boolean autoFlush)
           
PortalPrintWriter(String fileName)
           
PortalPrintWriter(String fileName, String csn)
           
PortalPrintWriter(Writer out)
           
PortalPrintWriter(Writer out, boolean autoFlush)
           
 
Method Summary
protected  Set<String> getUniqueKeys()
          Returns the unique keys storage.
 void print(boolean b, String uniqueKey)
           
 void print(char[] s, String uniqueKey)
           
 void print(char c, String uniqueKey)
           
 void print(double d, String uniqueKey)
           
 void print(float f, String uniqueKey)
           
 void print(int i, String uniqueKey)
           
 void print(long l, String uniqueKey)
           
 void print(Object obj, String uniqueKey)
           
 void print(String s, String uniqueKey)
           
 void println(boolean x, String uniqueKey)
           
 void println(char[] x, String uniqueKey)
           
 void println(char x, String uniqueKey)
           
 void println(double x, String uniqueKey)
           
 void println(float x, String uniqueKey)
           
 void println(int x, String uniqueKey)
           
 void println(long x, String uniqueKey)
           
 void println(Object x, String uniqueKey)
           
 void println(String x, String uniqueKey)
           
 void write(char[] buf, int off, int len, String uniqueKey)
           
 void write(char[] buf, String uniqueKey)
           
 void write(int c, String uniqueKey)
           
 void write(String s, int off, int len, String uniqueKey)
           
 void write(String s, String uniqueKey)
           
 
Methods inherited from class java.io.PrintWriter
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalPrintWriter

public PortalPrintWriter(Writer out)

PortalPrintWriter

public PortalPrintWriter(Writer out,
                         boolean autoFlush)

PortalPrintWriter

public PortalPrintWriter(OutputStream out)

PortalPrintWriter

public PortalPrintWriter(OutputStream out,
                         boolean autoFlush)

PortalPrintWriter

public PortalPrintWriter(String fileName)
                  throws FileNotFoundException
Throws:
FileNotFoundException

PortalPrintWriter

public PortalPrintWriter(String fileName,
                         String csn)
                  throws FileNotFoundException,
                         UnsupportedEncodingException
Throws:
FileNotFoundException
UnsupportedEncodingException

PortalPrintWriter

public PortalPrintWriter(File file)
                  throws FileNotFoundException
Throws:
FileNotFoundException

PortalPrintWriter

public PortalPrintWriter(File file,
                         String csn)
                  throws FileNotFoundException,
                         UnsupportedEncodingException
Throws:
FileNotFoundException
UnsupportedEncodingException
Method Detail

getUniqueKeys

protected Set<String> getUniqueKeys()
Returns the unique keys storage.

Returns:
the unique keys storage.
Since:
4.0.11

print

public void print(boolean b,
                  String uniqueKey)

print

public void print(char c,
                  String uniqueKey)

print

public void print(char[] s,
                  String uniqueKey)

print

public void print(double d,
                  String uniqueKey)

print

public void print(float f,
                  String uniqueKey)

print

public void print(int i,
                  String uniqueKey)

print

public void print(long l,
                  String uniqueKey)

print

public void print(Object obj,
                  String uniqueKey)

print

public void print(String s,
                  String uniqueKey)

println

public void println(boolean x,
                    String uniqueKey)

println

public void println(char x,
                    String uniqueKey)

println

public void println(char[] x,
                    String uniqueKey)

println

public void println(double x,
                    String uniqueKey)

println

public void println(float x,
                    String uniqueKey)

println

public void println(int x,
                    String uniqueKey)

println

public void println(long x,
                    String uniqueKey)

println

public void println(Object x,
                    String uniqueKey)

println

public void println(String x,
                    String uniqueKey)

write

public void write(char[] buf,
                  int off,
                  int len,
                  String uniqueKey)

write

public void write(char[] buf,
                  String uniqueKey)

write

public void write(int c,
                  String uniqueKey)

write

public void write(String s,
                  int off,
                  int len,
                  String uniqueKey)

write

public void write(String s,
                  String uniqueKey)


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.