Package lumis.portal
Class PortalPrintWriter
- java.lang.Object
-
- java.io.Writer
-
- java.io.PrintWriter
-
- lumis.portal.PortalPrintWriter
-
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
- Direct Known Subclasses:
DefaultPortalPrintWriter
@StableMinor(version="14.0", sinceVersion="7.0") public abstract class PortalPrintWriter extends PrintWriter
PrintWriter
with uniqueness feature.This class is only stable for public methods usage. Artifacts of construction or visible by inheritance are not considered stable.
- Since:
- 4.0.0
- Version:
- $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PortalPrintWriter.WritePosition
Defines the position the item will be written.
-
Field Summary
-
Fields inherited from class java.io.PrintWriter
out
-
-
Constructor Summary
Constructors Constructor Description PortalPrintWriter(Writer out)
PortalPrintWriter(Writer out, boolean autoFlush)
-
Method Summary
-
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.io.Writer
nullWriter
-
-
-
-
Method Detail
-
getUniqueWriterController
protected abstract UniqueWriterController getUniqueWriterController()
Returns thecontroller
that will handle before writes. Must not benull
.- Returns:
- the
controller
that will handle before writes. - Since:
- 7.0.0
-
print
public String print(boolean b, String uniqueKey, PortalPrintWriter.WritePosition position)
-
print
public String print(char c, String uniqueKey, PortalPrintWriter.WritePosition position)
-
print
public String print(char[] s, String uniqueKey, PortalPrintWriter.WritePosition position)
-
print
public String print(double d, String uniqueKey, PortalPrintWriter.WritePosition position)
-
print
public String print(float f, String uniqueKey, PortalPrintWriter.WritePosition position)
-
print
public String print(int i, String uniqueKey, PortalPrintWriter.WritePosition position)
-
print
public String print(long l, String uniqueKey, PortalPrintWriter.WritePosition position)
-
print
public String print(Object obj, String uniqueKey, PortalPrintWriter.WritePosition position)
-
print
public String print(String s, String uniqueKey, PortalPrintWriter.WritePosition position)
-
println
public String println(boolean x, String uniqueKey, PortalPrintWriter.WritePosition position)
-
println
public String println(char x, String uniqueKey, PortalPrintWriter.WritePosition position)
-
println
public String println(char[] x, String uniqueKey, PortalPrintWriter.WritePosition position)
-
println
public String println(double x, String uniqueKey, PortalPrintWriter.WritePosition position)
-
println
public String println(float x, String uniqueKey, PortalPrintWriter.WritePosition position)
-
println
public String println(int x, String uniqueKey, PortalPrintWriter.WritePosition position)
-
println
public String println(long x, String uniqueKey, PortalPrintWriter.WritePosition position)
-
println
public String println(Object x, String uniqueKey, PortalPrintWriter.WritePosition position)
-
println
public String println(String x, String uniqueKey, PortalPrintWriter.WritePosition position)
-
write
public String write(char[] buf, int off, int len, String uniqueKey, PortalPrintWriter.WritePosition position)
-
write
public String write(char[] buf, String uniqueKey, PortalPrintWriter.WritePosition position)
-
write
public String write(int c, String uniqueKey, PortalPrintWriter.WritePosition position)
-
write
public String write(String s, int off, int len, String uniqueKey, PortalPrintWriter.WritePosition position)
-
write
public String write(String s, String uniqueKey, PortalPrintWriter.WritePosition position)
-
-