Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.core.databinding.conversion
Class Converter

java.lang.Object
  extended by 
org.eclipse.core.databinding.conversion.Converter
All Implemented Interfaces:
IConverter
Direct Known Subclasses:
org.eclipse.core.internal.databinding.validation.NumberFormatConverter, NumberToStringConverter

public abstract class Converter
extends Object
implements IConverter

Abstract base class for converters.

Since:
1.0

Constructor Summary
Converter ( Object fromType, Object toType)
           
 
Method Summary
  Object getFromType ()
          Returns the type whose instances can be converted by this converter.
  Object getToType ()
          Returns the type to which this converter can convert.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.core.databinding.conversion. IConverter
convert
 

Constructor Detail

Converter

public Converter(
Object fromType,
                 
Object toType)
Parameters:
fromType -
toType -
Method Detail

getFromType

public 
Object getFromType()
Description copied from interface: IConverter
Returns the type whose instances can be converted by this converter. The return type is Object rather than Class to optionally support richer type systems than the one provided by Java reflection.

Specified by:
getFromType in interface IConverter
Returns:
the type whose instances can be converted, or null if this converter is untyped

getToType

public 
Object getToType()
Description copied from interface: IConverter
Returns the type to which this converter can convert. The return type is Object rather than Class to optionally support richer type systems than the one provided by Java reflection.

Specified by:
getToType in interface IConverter
Returns:
the type to which this converter can convert, or null if this converter is untyped

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire