public class CollectionConverter extends Object implements TypeBasedConverter
| Constructor and Description |
|---|
CollectionConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindConverterManager(IConverterManager converterManager) |
Object |
convert(Class<?> toType,
Object in) |
Object |
convert(org.apache.felix.gogo.commands.converter.ReifiedType type,
Object fromValue)
Convert an object to the desired type.
|
CharSequence |
format(Object o,
int i,
org.apache.felix.service.command.Converter converter) |
void |
unbindConverterManager(IConverterManager converterManager) |
public void bindConverterManager(IConverterManager converterManager)
public void unbindConverterManager(IConverterManager converterManager)
public Object convert(Class<?> toType, Object in) throws Exception
convert in interface org.apache.felix.service.command.ConverterExceptionpublic Object convert(org.apache.felix.gogo.commands.converter.ReifiedType type, Object fromValue) throws Exception
TypeBasedConverterconvert in interface TypeBasedConvertertype - The type that the returned object can be assigned tofromValue - The object that must be convertedExceptionpublic CharSequence format(Object o, int i, org.apache.felix.service.command.Converter converter) throws Exception
format in interface org.apache.felix.service.command.ConverterExceptionCopyright © 2013 OW2 Consortium. All Rights Reserved.