org.ow2.shelbie.core.internal.converter
Class BasicTypesConverter

java.lang.Object
  extended by org.ow2.shelbie.core.internal.converter.BasicTypesConverter
All Implemented Interfaces:
org.apache.felix.service.command.Converter

public class BasicTypesConverter
extends Object
implements org.apache.felix.service.command.Converter

Author:
Loris Bouzonnet

Field Summary
 
Fields inherited from interface org.apache.felix.service.command.Converter
CONVERTER_CLASSES, INSPECT, LINE, PART
 
Constructor Summary
BasicTypesConverter()
           
 
Method Summary
 Object convert(Class<?> toType, Object value)
           
 CharSequence format(Object o, int i, org.apache.felix.service.command.Converter converter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicTypesConverter

public BasicTypesConverter()
Method Detail

convert

public Object convert(Class<?> toType,
                      Object value)
               throws Exception
Specified by:
convert in interface org.apache.felix.service.command.Converter
Throws:
Exception

format

public CharSequence format(Object o,
                           int i,
                           org.apache.felix.service.command.Converter converter)
                    throws Exception
Specified by:
format in interface org.apache.felix.service.command.Converter
Throws:
Exception


Copyright © 2013 OW2 Consortium. All Rights Reserved.