public interface ConvertService extends HandlerService<ConversionRequest,Converter<?,?>>, SciJavaService
Converter
. Contains convenience signatures for the
getHandler(java.lang.Object, java.lang.Class<?>)
and supports(java.lang.Object, java.lang.Class<?>)
methods to avoid the need to create
ConversionRequest
objects.ConversionRequest
Modifier and Type | Method and Description |
---|---|
Object |
convert(ConversionRequest request) |
<T> T |
convert(Object src,
Class<T> dest) |
Object |
convert(Object src,
Type dest) |
Collection<Class<?>> |
getCompatibleInputClasses(Class<?> dest) |
Collection<Object> |
getCompatibleInputs(Class<?> dest) |
Collection<Class<?>> |
getCompatibleOutputClasses(Class<?> dest) |
Converter<?,?> |
getHandler(Class<?> src,
Class<?> dest)
Deprecated.
|
Converter<?,?> |
getHandler(Class<?> src,
Type dest)
Deprecated.
|
Converter<?,?> |
getHandler(Object src,
Class<?> dest) |
Converter<?,?> |
getHandler(Object src,
Type dest) |
boolean |
supports(Class<?> src,
Class<?> dest)
Deprecated.
|
boolean |
supports(Class<?> src,
Type dest)
Deprecated.
|
boolean |
supports(Object src,
Class<?> dest) |
boolean |
supports(Object src,
Type dest) |
getHandler, getInstances, supports
create, filterInstances, getInstance, initialize, objectService
find
getPlugins, getPluginService, getPluginType, pluginService
registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
Object convert(Object src, Type dest)
Converter.convert(Object, Type)
<T> T convert(Object src, Class<T> dest)
Converter.convert(Object, Class)
Object convert(ConversionRequest request)
Converter.convert(ConversionRequest)
Converter<?,?> getHandler(Object src, Class<?> dest)
HandlerService.supports(Object)
Converter<?,?> getHandler(Object src, Type dest)
HandlerService.supports(Object)
boolean supports(Object src, Class<?> dest)
HandlerService.supports(Object)
boolean supports(Object src, Type dest)
HandlerService.supports(Object)
Collection<Object> getCompatibleInputs(Class<?> dest)
Collection<Class<?>> getCompatibleInputClasses(Class<?> dest)
Collection<Class<?>> getCompatibleOutputClasses(Class<?> dest)
@Deprecated Converter<?,?> getHandler(Class<?> src, Class<?> dest)
getHandler(Object, Class)
HandlerService.getHandler(Object)
@Deprecated Converter<?,?> getHandler(Class<?> src, Type dest)
getHandler(Object, Type)
HandlerService.getHandler(Object)
@Deprecated boolean supports(Class<?> src, Class<?> dest)
supports(Object, Class)
HandlerService.supports(Object)
@Deprecated boolean supports(Class<?> src, Type dest)
supports(Object, Type)
HandlerService.supports(Object)
Copyright © 2015–2022 SciJava. All rights reserved.