lumis.portal
Class PortalPrintWriter
java.lang.Object
java.io.Writer
java.io.PrintWriter
lumis.portal.PortalPrintWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
@StableMinor(version="6.2",
sinceVersion="4.0")
public class PortalPrintWriter
- extends PrintWriter
PrintWriter
with uniqueness feature.
- Since:
- 4.0.0
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 |
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
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 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.