Class DefaultConverter
- java.lang.Object
-
- org.apache.karaf.shell.commands.converter.DefaultConverter
-
@Deprecated public class DefaultConverter extends Object
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description DefaultConverter(Object loader)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Objectconvert(Object source, Type target)Deprecated.Objectconvert(Object fromValue, ReifiedType type)Deprecated.ObjectconvertFromString(String value, Class toType, Object loader)Deprecated.ObjectconvertToNumber(Number value, Class toType)Deprecated.static booleanisAssignable(Object source, ReifiedType target)Deprecated.
-
-
-
Constructor Detail
-
DefaultConverter
public DefaultConverter(Object loader)
Deprecated.
-
-
Method Detail
-
convert
public Object convert(Object source, Type target) throws Exception
Deprecated.- Throws:
Exception
-
convert
public Object convert(Object fromValue, ReifiedType type) throws Exception
Deprecated.- Throws:
Exception
-
convertToNumber
public Object convertToNumber(Number value, Class toType) throws Exception
Deprecated.- Throws:
Exception
-
convertFromString
public Object convertFromString(String value, Class toType, Object loader) throws Exception
Deprecated.- Throws:
Exception
-
isAssignable
public static boolean isAssignable(Object source, ReifiedType target)
Deprecated.
-
-