Interface Converter<F,T>

Type Parameters:
F - The accepted type of objects to convert from
T - The type to convert to
All Known Implementing Classes:
ChainedConverter, Getter, SerializableGetter

@Deprecated public interface Converter<F,T>
Deprecated.
Converts data from type to another.
See Also:
  • Converters#registerConverter(Class, Class, Converter)
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Deprecated.
    holds information about a converter
    static final class 
    Deprecated.
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Deprecated.
    Disallow all chaining.
    static final int
    Deprecated.
     
    static final int
    Deprecated.
    Disallow other converters from being chained to this.
    static final int
    Deprecated.
    Disallow chaining this with other converters.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable T
    Deprecated.
    Converts an object from the given to the desired type.
  • Field Details

    • NO_LEFT_CHAINING

      static final int NO_LEFT_CHAINING
      Deprecated.
      Disallow other converters from being chained to this.
      See Also:
    • NO_RIGHT_CHAINING

      static final int NO_RIGHT_CHAINING
      Deprecated.
      Disallow chaining this with other converters.
      See Also:
    • NO_CHAINING

      static final int NO_CHAINING
      Deprecated.
      Disallow all chaining.
      See Also:
    • NO_COMMAND_ARGUMENTS

      static final int NO_COMMAND_ARGUMENTS
      Deprecated.
      See Also:
  • Method Details

    • convert

      @Nullable T convert(F f)
      Deprecated.
      Converts an object from the given to the desired type.
      Parameters:
      f - The object to convert.
      Returns:
      the converted object