conditionaloperation
Class Constants

java.lang.Object
  extended by conditionaloperation.Constants

public class Constants
extends java.lang.Object

Model-related constant values collected in one place.


Field Summary
static java.util.regex.Pattern authorPattern
          Pattern used to match (and separate) components within an author search term.
static java.util.regex.Pattern commandPattern
          Pattern used to separate search command from search argument.
 
Constructor Summary
Constants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

commandPattern

public static final java.util.regex.Pattern commandPattern
Pattern used to separate search command from search argument.

The command consists of optional leading spaces, one or more letters followed by an "=" character, the search term itself, followed by trailing spaces.


authorPattern

public static final java.util.regex.Pattern authorPattern
Pattern used to match (and separate) components within an author search term.

The pattern contains two parenthesized search terms used to match the author's first and last names.

Constructor Detail

Constants

public Constants()