| Package | Description |
|---|---|
| org.terracotta.utilities.io |
| Modifier and Type | Class and Description |
|---|---|
static class |
CapturedPrintStream.FileCapturedPrintStream
A
PrintStream to capture to a file-backed buffer. |
static class |
CapturedPrintStream.MemoryCapturedPrintStream
A
PrintStream to capture to a memory-based buffer. |
| Modifier and Type | Method and Description |
|---|---|
static CapturedPrintStream |
CapturedPrintStream.getInstance()
Instantiates a new
CapturedPrintStream using an in-memory buffer. |
static CapturedPrintStream |
CapturedPrintStream.getInstance(java.nio.file.Path filePath)
Instantiates a new
CapturedPrintStream using file as a buffer and auto-flush enabled. |
static CapturedPrintStream |
CapturedPrintStream.getInstance(java.nio.file.Path filePath,
boolean autoFlush)
Instantiates a new
CapturedPrintStream using file as a buffer and a caller-specified auto-flush setting. |