Class PathConverter

    • Constructor Detail

      • PathConverter

        public PathConverter()
    • Method Detail

      • parse

        public Path parse​(String text)
        Description copied from interface: Converter
        Converts a value from its plain text representation to a Java object instance of the type returned by Converter.getValueType().
        Specified by:
        parse in interface Converter<Path>
        Parameters:
        text - The textual representation of the value.
        Returns:
        The converted value.
      • format

        public String format​(Path value)
        Description copied from interface: Converter
        Converts a value of the type returned by Converter.getValueType() to its plain text representation.
        Specified by:
        format in interface Converter<Path>
        Parameters:
        value - The value to be converted to text.
        Returns:
        The textual representation of the value.