KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > util > search > SearchMethod


1 /*
2  * Copyright (c) 2003, Inversoft
3  *
4  * This software is distribuable under the GNU Lesser General Public License.
5  * For more information visit gnu.org.
6  */

7 package com.inversoft.util.search;
8
9
10 /**
11  * <p>
12  * This interface is a generic search method interface. It
13  * defines a method by which a String can be used to determine
14  * the next search String in a sequence. This interface can
15  * be implemented to change the search order.
16  * </p>
17  *
18  * @author Brian Pontarelli
19  */

20 public interface SearchMethod {
21
22     /**
23      * Using the given string, this method should return the next search string
24      * in the sequence.
25      *
26      * @param name The current name from which the next search string should be
27      * deduced
28      * @return The next search string
29      */

30     String JavaDoc nextSearchName(String JavaDoc name);
31 }
32
Popular Tags