Class ToneNumberPluginMatcher
java.lang.Object
ca.phon.phonex.plugins.ToneNumberPluginMatcher
- All Implemented Interfaces:
PhoneMatcher
Provides tone number matching functionality. This matcher
matches if the tone number of a phone is in the list of allowed
tone numbers and not in the list of unallowed tone numbers.
null values for either list may be provided and will match appropriately
if no tone is specified for a phone.
-
Constructor Summary
ConstructorsConstructorDescriptionToneNumberPluginMatcher(ToneNumber[] toneNumbers, ToneNumber[] notToneNumbers) -
Method Summary
Modifier and TypeMethodDescriptionbooleanPerform test on given phone.booleanDoes this matcher match anything? Used at runtime to help determine proper backtracking paths.
-
Constructor Details
-
ToneNumberPluginMatcher
-
-
Method Details
-
matches
Description copied from interface:PhoneMatcherPerform test on given phone.- Specified by:
matchesin interfacePhoneMatcher
-
matchesAnything
public boolean matchesAnything()Description copied from interface:PhoneMatcherDoes this matcher match anything? Used at runtime to help determine proper backtracking paths.- Specified by:
matchesAnythingin interfacePhoneMatcher
-