org.netbeans.editor
Class LineSeparatorConversion.ToLineFeed
java.lang.Object
org.netbeans.editor.LineSeparatorConversion.ToLineFeed
- Enclosing class:
- LineSeparatorConversion
public static class LineSeparatorConversion.ToLineFeed
- extends Object
Convert all the occurrences of '\r' and '\r\n' in the text to '\n'.
This class does conversion in chunks of fixed size
and is therefore suitable for conversion of readers
where the size is unknown.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineSeparatorConversion.ToLineFeed
public LineSeparatorConversion.ToLineFeed(Reader reader)
LineSeparatorConversion.ToLineFeed
public LineSeparatorConversion.ToLineFeed(Reader reader,
int convertBufferSize)
nextConverted
public Segment nextConverted()
throws IOException
- Throws:
IOException
isReadWholeBuffer
public boolean isReadWholeBuffer()