Package org.apache.manifoldcf.core.util
Class Converter
- java.lang.Object
-
- org.apache.manifoldcf.core.util.Converter
-
public class Converter extends java.lang.ObjectVarious useful converter methods for working with JDBC output
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_rcsid
-
Constructor Summary
Constructors Constructor Description Converter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doubleasDouble(java.lang.Object o)Convert a JDBC output value to a double.static longasLong(java.lang.Object o)Convert a JDBC output value to a long.
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
-
Method Detail
-
asDouble
public static double asDouble(java.lang.Object o) throws ManifoldCFExceptionConvert a JDBC output value to a double.- Throws:
ManifoldCFException
-
asLong
public static long asLong(java.lang.Object o) throws ManifoldCFExceptionConvert a JDBC output value to a long.- Throws:
ManifoldCFException
-
-