Note
calling toString() will force the entire string to be loaded in memory, use toWriter() if you need to avoid this.
This class is not multi thread safe.
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private File | |
| private final int | |
| private StringBuilder | |
| private static final int | |
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public FileStringBuffer | |
| private static void | |
| private void | |
| private static void | |
| public String | |
| public void |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| m_file | back to summary |
|---|---|
| private File m_file | |
| m_maxCharacters | back to summary |
|---|---|
| private final int m_maxCharacters | |
| m_sb | back to summary |
|---|---|
| private StringBuilder m_sb | |
| MAX | back to summary |
|---|---|
| private static final int MAX | |
| VERBOSE | back to summary |
|---|---|
| private static final boolean VERBOSE | |
| FileStringBuffer | back to summary |
|---|---|
| public FileStringBuffer() | |
| FileStringBuffer | back to summary |
|---|---|
| public FileStringBuffer(int maxCharacters) | |
| append | back to summary |
|---|---|
| public FileStringBuffer append(CharSequence s) Implements org.
| |
| copy | back to summary |
|---|---|
| private static void copy(Reader input, Writer output) throws IOException | |
| flushToFile | back to summary |
|---|---|
| private void flushToFile() | |
| p | back to summary |
|---|---|
| private static void p(String s) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| toWriter | back to summary |
|---|---|
| public void toWriter(Writer fw) Implements org.
| |