Package com.aoindustries.io.buffer
Interface BufferResult
-
- All Superinterfaces:
Writable
- All Known Implementing Classes:
CharArrayBufferResult,EmptyResult,LoggingResult,SegmentedResult,TempFileResult
public interface BufferResult extends Writable
The result from completion of a buffered writer. Only available after a buffered writer has been closed.Idea: Add contentEquals(String) method to avoid some uses of toString?
- Author:
- AO Industries, Inc.
- See Also:
BufferWriter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BufferResulttrim()Trims the contents of this result, as per rules ofStrings.isWhitespace(int), returning the instance that represents this result trimmed.
-
-
-
Method Detail
-
trim
BufferResult trim() throws IOException
Trims the contents of this result, as per rules ofStrings.isWhitespace(int), returning the instance that represents this result trimmed.- Specified by:
trimin interfaceWritable- Throws:
IOException
-
-