Interface Stringifier<T>

All Known Implementing Classes:
EnumStringifier, KeyStringifier, NullStringifier

public interface Stringifier<T>

Used with the @Stringify annotation to convert arbitrary objects to Strings.

Author:
Jeff Schnitzer invalid input: '<'[email protected]>
  • Method Summary

    Modifier and Type
    Method
    Description
    Convert the string back to a thing
    toString(T obj)
    Convert the thing to a string
  • Method Details

    • toString

      String toString(T obj)
      Convert the thing to a string
    • fromString

      T fromString(String str)
      Convert the string back to a thing