org.netbeans.modules.editor.lib/1 1.44.0 9

org.netbeans.editor
Interface FinderFactory.StringFinder

All Superinterfaces:
Finder
All Known Implementing Classes:
FinderFactory.FalseFinder, FinderFactory.StringBwdFinder, FinderFactory.StringFwdFinder, FinderFactory.WholeWordsBwdFinder, FinderFactory.WholeWordsFwdFinder
Enclosing class:
FinderFactory

public static interface FinderFactory.StringFinder
extends Finder

Finder that looks for some search expression expressed by string. It can be either simple string or some form of regular expression expressed by string.


Method Summary
 int getFoundLength()
          Get the length of the found string.
 
Methods inherited from interface org.netbeans.editor.Finder
find, isFound, reset
 

Method Detail

getFoundLength

int getFoundLength()
Get the length of the found string. This is useful for regular expressions, because the length of the regular expression can be different than the length of the string that matched the expression.


org.netbeans.modules.editor.lib/1 1.44.0 9

Built on November 22 2009.  |  Portions Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.