站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

LineSeparatorConversion.ToLineFeed (Editor Library) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib/1 1.14.0 3

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
 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

org.netbeans.modules.editor.lib/1 1.14.0 3

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.