|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Writer
java.io.PrintWriter
org.identityconnectors.common.StringPrintWriter
public class StringPrintWriter
Simple extension of PrintWriter so you don't have to create a StringWriter to pass to it, when you want the functionality of PrintWriter but you want it in a buffer.
| Field Summary |
|---|
| Fields inherited from class java.io.PrintWriter |
|---|
out |
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
StringPrintWriter()
Create with the default initial size. |
|
StringPrintWriter(int initSize)
Create with an initialize size with the parameter supplied.. |
|
| Method Summary | |
|---|---|
void |
clear()
Clear out the underlying string writer. |
Reader |
getReader()
Return a reader for the accumulated string. |
String |
getString()
Return the string in the internal string writer. |
void |
print(String[] value)
Call print for every string in the array. |
void |
println(String[] value)
Call println for every string in the array. |
| 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 |
|---|
public StringPrintWriter()
public StringPrintWriter(int initSize)
| Method Detail |
|---|
public String getString()
public Reader getReader()
public void println(String[] value)
public void print(String[] value)
NullPointerException - iff value is null.public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||