public abstract class AbstractConvertService extends AbstractHandlerService<ConversionRequest,Converter<?,?>> implements ConvertService
ConvertService implementations. Sets
this service as the active delegate service in ConversionUtils.| Constructor and Description |
|---|
AbstractConvertService() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(ConversionRequest request) |
<T> T |
convert(Object src,
Class<T> dest) |
Object |
convert(Object src,
Type dest) |
void |
initialize()
Performs any needed initialization when the service is first loaded.
|
getHandler, supportscreate, filterInstances, getInstance, getInstancesgetPlugins, getPluginServicedispose, getContext, registerEventHandlers, setContext, toStringcompareTo, getInfo, getPriority, setInfo, setPrioritycontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCompatibleInputs, getHandler, getHandler, getHandler, getHandler, supports, supports, supports, supportsgetHandler, getInstances, supportsgetInstancecreate, getPlugins, getPluginService, getPluginTyperegisterEventHandlerscontext, getContext, setContextgetPriority, setPrioritycompareTogetInfo, setInfodisposepublic Object convert(Object src, Type dest)
convert in interface ConvertServiceConverter.convert(Object, Type)public <T> T convert(Object src, Class<T> dest)
convert in interface ConvertServiceConverter.convert(Object, Class)public Object convert(ConversionRequest request)
convert in interface ConvertServiceConverter.convert(ConversionRequest)public void initialize()
Service
NB: This method is not intended to be called directly. It is called by
the service framework itself (specifically by the ServiceHelper)
when initializing the service. It should not be called a second time.
initialize in interface Serviceinitialize in class AbstractSingletonService<Converter<?,?>>Copyright © 2009–2015 SciJava. All rights reserved.