org.netbeans.modules.editor.lib/3 3.23.0 19

org.netbeans.editor
Class LineSeparatorConversion.ToLineFeed

java.lang.Object
  extended by 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.


Constructor Summary
LineSeparatorConversion.ToLineFeed(Reader reader)
           
LineSeparatorConversion.ToLineFeed(Reader reader, int convertBufferSize)
           
 
Method Summary
 boolean isReadWholeBuffer()
           
 Segment nextConverted()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineSeparatorConversion.ToLineFeed

public LineSeparatorConversion.ToLineFeed(Reader reader)

LineSeparatorConversion.ToLineFeed

public LineSeparatorConversion.ToLineFeed(Reader reader,
                                          int convertBufferSize)
Method Detail

nextConverted

public Segment nextConverted()
                      throws IOException
Throws:
IOException

isReadWholeBuffer

public boolean isReadWholeBuffer()

org.netbeans.modules.editor.lib/3 3.23.0 19

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.