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

DocumentFinder (Editor Library) - NetBeans API Javadoc (Current Development Version)

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

org.netbeans.editor
Class DocumentFinder

java.lang.Object
  extended by org.netbeans.editor.DocumentFinder

Deprecated. Without any replacement.

public class DocumentFinder
extends Object


Nested Class Summary
static class DocumentFinder.FindReplaceResult
          Deprecated.  
 
Method Summary
static int[] find(BaseDocument doc, int startOffset, int endOffset, Map props, boolean oppositeDir)
          Deprecated. Finds in document
static int[] findBlocks(BaseDocument doc, int startOffset, int endOffset, Map props, int[] blocks)
          Deprecated.  
static DocumentFinder.FindReplaceResult findReplaceResult(String replaceString, BaseDocument doc, int startOffset, int endOffset, Map props, boolean oppositeDir)
          Deprecated. Finds the searching string and substitute replace expression in case of regexp backreferences.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

find

public static int[] find(BaseDocument doc,
                         int startOffset,
                         int endOffset,
                         Map props,
                         boolean oppositeDir)
                  throws BadLocationException
Deprecated. 
Finds in document

Parameters:
doc - document where to find
startOffset - offset in the document where the search will start
endOffset - offset where the search will end with reporting that nothing was found.
props - find properties
Throws:
BadLocationException

findBlocks

public static int[] findBlocks(BaseDocument doc,
                               int startOffset,
                               int endOffset,
                               Map props,
                               int[] blocks)
                        throws BadLocationException
Deprecated. 
Throws:
BadLocationException

findReplaceResult

public static DocumentFinder.FindReplaceResult findReplaceResult(String replaceString,
                                                                 BaseDocument doc,
                                                                 int startOffset,
                                                                 int endOffset,
                                                                 Map props,
                                                                 boolean oppositeDir)
                                                          throws BadLocationException
Deprecated. 
Finds the searching string and substitute replace expression in case of regexp backreferences.

Returns:
FindReplaceResult, that contains positions of found string and substituted replace expression
Throws:
BadLocationException

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.