- java.lang.Object
-
- de.carne.util.validation.InputValidator<@NonNull java.nio.file.Path>
-
- de.carne.util.validation.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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PathValidatorfromString(java.lang.String input)Checks and converts a String input value to a Path input.-
Methods inherited from class de.carne.util.validation.InputValidator
check, checkNotNull, convert, get, 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.
-
-