org.apache.aries.blueprint.sample
Class DateTypeConverter
java.lang.Object
org.apache.aries.blueprint.sample.DateTypeConverter
- All Implemented Interfaces:
- org.osgi.service.blueprint.container.Converter
public class DateTypeConverter
- extends Object
- implements org.osgi.service.blueprint.container.Converter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateTypeConverter
public DateTypeConverter()
setFormat
public void setFormat(String format)
convert
public Object convert(Object source,
org.osgi.service.blueprint.container.ReifiedType toType)
throws Exception
- Specified by:
convert in interface org.osgi.service.blueprint.container.Converter
- Throws:
Exception
canConvert
public boolean canConvert(Object fromValue,
org.osgi.service.blueprint.container.ReifiedType toType)
- Specified by:
canConvert in interface org.osgi.service.blueprint.container.Converter
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.