org.eclipse.core.databinding.conversion
public interface IConverter
Converter.| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Object fromObject)
Returns the result of the conversion of the given object.
|
Object |
getFromType()
Returns the type whose instances can be converted by this converter.
|
Object |
getToType()
Returns the type to which this converter can convert.
|
Object getFromType()
Object getToType()
Object convert(Object fromObject)
fromObject - the object to convert, of type getFromType()getToType()Guidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.