org.mmbase.sms
Class NumberRecognizer
java.lang.Object
org.mmbase.sms.NumberRecognizer
- All Implemented Interfaces:
- Serializable, Processor
public class NumberRecognizer
- extends Object
- implements Processor
Recognizes and canonicalizes phone numbers. Currently only supports dutch mobile phone
numbers. This processor can be used as a set-processor on mobile number fields.
- Version:
- $Id: NumberRecognizer.java 35335 2009-05-21 08:14:41Z michiel $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DUTCH
public static final Pattern DUTCH
NumberRecognizer
public NumberRecognizer()
process
public Object process(Node node,
Field field,
Object value)
- Specified by:
process in interface Processor
- Parameters:
node - The node object for which the field must be transformed.field - The field which is set.value - The (new) field value.
main
public static void main(String[] argv)
MMBase 2.0-SNAPSHOT - null