mobi.voiceassistant.client.converter
Class NumberConverter
java.lang.Object
mobi.voiceassistant.client.converter.NumberConverter
- All Implemented Interfaces:
- TokenConverter<Integer>
public final class NumberConverter
- extends Object
- implements TokenConverter<Integer>
User: morfeusys
Date: 02.02.13
Time: 13:36
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_DIGIT
public static final String TYPE_DIGIT
- See Also:
- Constant Field Values
TYPE_WORD
public static final String TYPE_WORD
- See Also:
- Constant Field Values
getInstance
public static TokenConverter<Integer> getInstance()
convert
public Integer convert(Token token)
- Specified by:
convert
in interface TokenConverter<Integer>
parseWord
public static Integer parseWord(Token token)