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

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

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

org.netbeans.editor
Class LineSeparatorConversion.FromLineFeed

java.lang.Object
  extended by org.netbeans.editor.LineSeparatorConversion.FromLineFeed
Enclosing class:
LineSeparatorConversion

public static class LineSeparatorConversion.FromLineFeed
extends Object

Convert all the occurrences of '\n' in the given text to the requested line separator. This class does conversion in chunks of fixed size and is therefore suitable for conversion of large texts.


Constructor Summary
LineSeparatorConversion.FromLineFeed(char[] source, int offset, int length, String lineFeedReplace)
           
LineSeparatorConversion.FromLineFeed(char[] source, int offset, int length, String lineFeedReplace, int conversionSegmentSize)
           
LineSeparatorConversion.FromLineFeed(String text, int offset, int length, String lineFeedReplace)
           
LineSeparatorConversion.FromLineFeed(String text, int offset, int length, String lineFeedReplace, int conversionSegmentSize)
           
 
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.FromLineFeed

public LineSeparatorConversion.FromLineFeed(char[] source,
                                            int offset,
                                            int length,
                                            String lineFeedReplace)

LineSeparatorConversion.FromLineFeed

public LineSeparatorConversion.FromLineFeed(char[] source,
                                            int offset,
                                            int length,
                                            String lineFeedReplace,
                                            int conversionSegmentSize)

LineSeparatorConversion.FromLineFeed

public LineSeparatorConversion.FromLineFeed(String text,
                                            int offset,
                                            int length,
                                            String lineFeedReplace)

LineSeparatorConversion.FromLineFeed

public LineSeparatorConversion.FromLineFeed(String text,
                                            int offset,
                                            int length,
                                            String lineFeedReplace,
                                            int conversionSegmentSize)
Method Detail

nextConverted

public Segment nextConverted()

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.