- All Superinterfaces:
Writable
- All Known Implementing Classes:
CharArrayBufferResult,EmptyResult,LoggingResult,SegmentedResult,StringResult,TempFileResult
The result from completion of a buffered writer. Only available after a
buffered writer has been closed.
All implementations are thread safe.
Idea: Add contentEquals(String) method to avoid some uses of toString?
- Author:
- AO Industries, Inc.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiontrim()Trims the contents of this result, as per rules ofStrings.isWhitespace(int), returning the instance that represents this result trimmed.
-
Method Details
-
trim
Trims the contents of this result, as per rules ofStrings.isWhitespace(int), returning the instance that represents this result trimmed.All implementations cache the result for constant-time secondary access.
- Specified by:
trimin interfaceWritable- Throws:
IOException
-
