A F G L N R S

A

addSearchTerm(String, ReplacingHitListener) - Method in interface net.sourceforge.sstringsearch.replace.Replacer
Adds a new searchterm with a ReplacingHitListener.
addSearchTerm(String, SearchingHitListener) - Method in interface net.sourceforge.sstringsearch.search.Searcher
Adds a new searchterm with a HitListener.

F

foundAt(long, long, String, Object...) - Method in interface net.sourceforge.sstringsearch.search.SearchingHitListener
Called by StringSearch upon a hit.

G

getCharactersRead() - Method in class net.sourceforge.sstringsearch.State
Gets number of characters read
getCurrentBuffer() - Method in class net.sourceforge.sstringsearch.State
Gets the current buffer
getCurrentCharacter() - Method in class net.sourceforge.sstringsearch.State
Gets the current character
getCurrentNode() - Method in class net.sourceforge.sstringsearch.State
Gets the current node
getNumberOfSearchTerms() - Method in interface net.sourceforge.sstringsearch.replace.Replacer
Get the number of defined searchterms.
getNumberOfSearchTerms() - Method in interface net.sourceforge.sstringsearch.search.Searcher
Get the number of defined searchterms.
getPath() - Method in class net.sourceforge.sstringsearch.State
Gets the current path
getReplacer() - Static method in class net.sourceforge.sstringsearch.StringSearchFactory
Returns a casesensitive Replacer, capable of doing search and replace.
getReplacer(boolean) - Static method in class net.sourceforge.sstringsearch.StringSearchFactory
Returns a Replacer, capable of doing search and replace.
getSearcher() - Static method in class net.sourceforge.sstringsearch.StringSearchFactory
Returns a casesensitive Searcher, capable of doing stringsearch.
getSearcher(boolean) - Static method in class net.sourceforge.sstringsearch.StringSearchFactory
Returns a Searcher, capable of doing stringsearch.

L

loadReplacer(InputStream) - Static method in class net.sourceforge.sstringsearch.StringSearchFactory
Loads a serialized Replacer from InputStream.
loadSearcher(InputStream) - Static method in class net.sourceforge.sstringsearch.StringSearchFactory
Loads a serialized Searcher from InputStream.

N

net.sourceforge.sstringsearch - package net.sourceforge.sstringsearch
 
net.sourceforge.sstringsearch.replace - package net.sourceforge.sstringsearch.replace
 
net.sourceforge.sstringsearch.search - package net.sourceforge.sstringsearch.search
 

R

removeSearchTerm(String) - Method in interface net.sourceforge.sstringsearch.replace.Replacer
Removes a searchterm.
removeSearchTerm(String) - Method in interface net.sourceforge.sstringsearch.search.Searcher
Removes a searchterm.
replace(String, Object...) - Method in interface net.sourceforge.sstringsearch.replace.ReplacingHitListener
This method is called whenever the associated string is encountered in the input.
Replacer - Interface in net.sourceforge.sstringsearch.replace
Project: sstringsearch
File: Replacer.java
Class: Replacer
Created: 6. mai. 2008

Description: For performing search and replace.
ReplacingHitListener - Interface in net.sourceforge.sstringsearch.replace
Project: sstringsearch
File: ReplacingHitListener.java
Class: ReplacingHitListener
Created: 13. mar. 2008

Description: A HitListener that is notified upon hits when calling StringSearch.searchAndReplace() The searchterm found is replaced in the result with the String returned from the replace() method.

S

save(OutputStream) - Method in interface net.sourceforge.sstringsearch.replace.Replacer
Serialize the finite state automata to an outputstream.
save(String) - Method in interface net.sourceforge.sstringsearch.replace.Replacer
Convience-method to save a finite state automata to file.
save(OutputStream) - Method in interface net.sourceforge.sstringsearch.search.Searcher
Serialize the finite state automata to an outputstream.
save(String) - Method in interface net.sourceforge.sstringsearch.search.Searcher
Convience-method to save a finite state automata to file.
search(Reader, Object...) - Method in interface net.sourceforge.sstringsearch.search.Searcher
Searches through character data provided by the reader.
search(Reader, State, Object...) - Method in interface net.sourceforge.sstringsearch.search.Searcher
Searches through character data provided by the reader.
searchAndReplace(Reader, Writer, Object...) - Method in interface net.sourceforge.sstringsearch.replace.Replacer
Does a search and replace on all that provided by the Reader.
searchAndReplace(Reader, Writer, State, Object...) - Method in interface net.sourceforge.sstringsearch.replace.Replacer
Does a search and replace on all that provided by the Reader.
Searcher - Interface in net.sourceforge.sstringsearch.search
Project: sstringsearch
File: Searcher.java
Class: Searcher
Created: 6. mai. 2008

Description: For performing stringsearch.
SearchingHitListener - Interface in net.sourceforge.sstringsearch.search
Project: sstringsearch
File: SearchingHitListener.java
Class: SearchingHitListener
Created: 13. okt.. 2006

Description: Classes implementing this interface can be notified when StringSearch finds a hit.
State - Class in net.sourceforge.sstringsearch
Project: sstringsearch
File: State.java
Class: State
Created: 18. mars.. 2008

Description: Holds the current state of the FSA.
State(StringBuilder, Node, Path, int, int) - Constructor for class net.sourceforge.sstringsearch.State
Constructor
StringSearchFactory - Class in net.sourceforge.sstringsearch
Project: sstringsearch
File: StringSearchFactory.java
Class: StringSearchFactory
Created: 7. mai. 2008

Description: The main source for obtaining objects for doing both search and search& replace.
StringSearchFactory() - Constructor for class net.sourceforge.sstringsearch.StringSearchFactory
 

A F G L N R S

Copyright 2005-2009 Kristian Andersen. All Rights Reserved.