Interface StringConversion

All Known Implementing Classes:
ConstructorInvokingStringConversion, MethodInvokingStringConversion
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface StringConversion
Describes ways of transforming string input into objects of another type.
  • Method Summary

    Modifier and Type
    Method
    Description
    Transform the given "raw" string" into an object of another type.
  • Method Details

    • convert

      Object convert(String raw)
      Transform the given "raw" string" into an object of another type.
      Parameters:
      raw - the string to convert
      Returns:
      the result of the conversion