Module de.carne

Class PathValidator

  • All Implemented Interfaces:
    java.util.function.Supplier<java.nio.file.Path>

    public class PathValidator
    extends InputValidator<@NonNull java.nio.file.Path>
    InputValidator implementation for Path input.
    • Method Detail

      • fromString

        public static PathValidator fromString​(java.lang.String input)
        Checks and converts a String input value to a Path input.
        Parameters:
        input - the input value to check and convert.
        Returns:
        a new PathValidator instance for further validation steps.