public class FunctionConverter extends Object implements org.apache.felix.service.command.Converter
| Constructor and Description |
|---|
FunctionConverter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Class<?> desiredType,
Object in) |
CharSequence |
format(Object target,
int level,
org.apache.felix.service.command.Converter escape) |
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 escape) throws Exception
format in interface org.apache.felix.service.command.ConverterExceptionpublic static boolean isFunctional(Class<?> clazz)
public static boolean isStatic(Method method)
public static boolean isObjectMethod(Method method)
Copyright © 2017. All rights reserved.