1/*
2* Conditions Of Use
3*
4* This software was developed by employees of the National Institute of
5* Standards and Technology (NIST), an agency of the Federal Government.
6* Pursuant to title 15 Untied States Code Section 105, works of NIST
7* employees are not subject to copyright protection in the United States
8* and are considered to be in the public domain.  As a result, a formal
9* license is not needed to use the software.
10*
11* This software is provided by NIST as a service and is expressly
12* provided "AS IS."  NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
13* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
14* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
15* AND DATA ACCURACY.  NIST does not warrant or make any representations
16* regarding the use of the software or the results thereof, including but
17* not limited to the correctness, accuracy, reliability or usefulness of
18* the software.
19*
20* Permission to use this software is contingent upon your acceptance
21* of the terms of this agreement
22*
23* .
24*
25*/
26package gov.nist.core;
27
28/** Match template for pattern matching.
29*
30*@version 1.2
31*
32*@author M. Ranganathan   <br/>
33*
34*
35*
36*/
37
38public interface Match {
39    /** Return true if a match occurs for searchString.
40    * This is used for pattern matching in the find and replace and match
41    * functions of the sipheaders and sdpfields packages. We have avoided
42    * picking a specific regexp package to avoid code dependencies.
43    * Use a package such as the jakarta regexp package to implement this.
44    */
45    public boolean match(String searchString);
46}
47