|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.util.SimpleTypeCasterFactory
public class SimpleTypeCasterFactory
Factory for casters, which take an object and safely cast to a given type, performing coercion or dropping precision if required.
Constructor Summary | |
---|---|
SimpleTypeCasterFactory()
|
Method Summary | |
---|---|
static SimpleTypeCaster |
getCaster(java.lang.Class fromType,
java.lang.Class targetType)
Returns a caster that casts to a target type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleTypeCasterFactory()
Method Detail |
---|
public static SimpleTypeCaster getCaster(java.lang.Class fromType, java.lang.Class targetType)
fromType
- can be null, if not knowntargetType
- to cast to
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |