Documentation of 'org.freehep.util.ObjectConverter' Java class
ObjectConverter
org.freehep.util

Interface ObjectConverter



  • public interface ObjectConverter
    Object converter which allows conversion of objects of one class into another.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.Object convert(java.lang.Object source)
      Returns the converted source object of a class compatible with the one returned under convertsTo().
      java.lang.Class convertsTo(java.lang.Object source)
      Returns the class the given source object can be converterd to by this converter.
    • Method Detail

      • convertsTo

        java.lang.Class convertsTo(java.lang.Object source)
        Returns the class the given source object can be converterd to by this converter. Returns null if the given source object cannot be converted.
      • convert

        java.lang.Object convert(java.lang.Object source)
        Returns the converted source object of a class compatible with the one returned under convertsTo().

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.