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

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/3 3.23.0 19

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