public class ResetablePrinter extends Object
| Constructor and Description |
|---|
ResetablePrinter(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSize() |
boolean |
isEmpty() |
void |
print(String text) |
void |
println(String text) |
void |
reset() |
void |
writeBufferTo(Writer writer) |
public boolean isEmpty()
public void writeBufferTo(Writer writer) throws IOException
IOExceptionpublic int getSize()
public void reset()
public void print(String text) throws IOException
IOExceptionpublic void println(String text) throws IOException
IOExceptionCopyright © 2011–2019 Igor Maznitsa. All rights reserved.