public class BaseConverters extends Object implements org.apache.felix.service.command.Converter
| Constructor and Description |
|---|
BaseConverters() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Class<?> desiredType,
Object in) |
CharSequence |
format(Object target,
int level,
org.apache.felix.service.command.Converter converter) |
static boolean |
isFunctional(Class<?> clazz) |
static boolean |
isObjectMethod(Method method) |
static boolean |
isStatic(Method method) |
public Object convert(Class<?> desiredType, Object in) throws Exception
convert in interface org.apache.felix.service.command.ConverterExceptionpublic CharSequence format(Object target, int level, org.apache.felix.service.command.Converter converter) throws IOException
format in interface org.apache.felix.service.command.ConverterIOExceptionpublic static boolean isFunctional(Class<?> clazz)
public static boolean isStatic(Method method)
public static boolean isObjectMethod(Method method)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.