com.taco.swinger.text2gui
Class StringToCursorConverter

java.lang.Object
  extended by com.taco.text.AbstractStringToObjectConverter
      extended by com.taco.swinger.text2gui.StringToCursorConverter
All Implemented Interfaces:
IStringToObjectConverter, IObjectMapper

public final class StringToCursorConverter
extends AbstractStringToObjectConverter

A converter from strings to cursors.


Field Summary
protected static java.util.Map _TYPE_MAP
          A map between lower case names and instances of Integer containing the corresponding type of cursor.
static StringToCursorConverter instance
          The singleton instance of this class.
 
Constructor Summary
protected StringToCursorConverter()
          Since this class is implemented as a singleton, its sole constructor is protected.
 
Method Summary
 java.lang.Object toObject(java.lang.String s)
           
 
Methods inherited from class com.taco.text.AbstractStringToObjectConverter
map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_TYPE_MAP

protected static final java.util.Map _TYPE_MAP
A map between lower case names and instances of Integer containing the corresponding type of cursor.


instance

public static final StringToCursorConverter instance
The singleton instance of this class.

Constructor Detail

StringToCursorConverter

protected StringToCursorConverter()
Since this class is implemented as a singleton, its sole constructor is protected.

Method Detail

toObject

public java.lang.Object toObject(java.lang.String s)
                          throws java.text.ParseException
Throws:
java.text.ParseException