|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.Writer
java.io.PrintWriter
com.evanmclean.evlib.io.PrintStringWriter
public class PrintStringWriter
Combines a PrintWriter with a StringWriter.
| Field Summary |
|---|
| Fields inherited from class java.io.PrintWriter |
|---|
out |
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
PrintStringWriter()
Create a new print string writer using the default initial string-buffer size. |
|
PrintStringWriter(int initialSize)
Create a new print string writer using the specified initial string-buffer size. |
|
| Method Summary | |
|---|---|
StringBuffer |
getBuffer()
Return the string buffer itself. |
String |
toString()
Return the buffer's current value as a string. |
| 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, wait, wait, wait |
| Constructor Detail |
|---|
public PrintStringWriter()
public PrintStringWriter(int initialSize)
initialSize - The number of char values that will fit into this
buffer before it is automatically expanded.| Method Detail |
|---|
public StringBuffer getBuffer()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||