Class com.bdnm.mvc.LongPrintConverter
All Packages Class Hierarchy This Package Previous Next Index
Class com.bdnm.mvc.LongPrintConverter
java.lang.Object
|
+----com.bdnm.mvc.LongPrintConverter
- public class LongPrintConverter
- extends Object
- implements PrintConverter
This class will convert a Long to a String
and vice versa.
-
LongPrintConverter()
-
-
fromString(String)
- Converts a string to a generic object,
which the caller can cast to a Long.
-
toString(Object)
- Converts the given object, which I expect
to be a Long, to a string.
LongPrintConverter
public LongPrintConverter()
toString
public String toString(Object obj)
- Converts the given object, which I expect
to be a Long, to a string.
- Parameters:
- obj - the Long to convert to a String
- Returns:
- a string representation of the Long
fromString
public Object fromString(String stringRep)
- Converts a string to a generic object,
which the caller can cast to a Long.
- Parameters:
- stringRep - the string to convert to
an object
- Returns:
- the converted object
All Packages Class Hierarchy This Package Previous Next Index