Package musichub.util
Class PathValidation
java.lang.Object
musichub.util.PathValidation
Class offering a path validation method.
- Version:
- 1.0
- Author:
- Aimeric ADJUTOR
-
Constructor Summary
ConstructorDescriptionMethod that just throws an AssertionError if the class is called -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isPathValid(String inputPath)
Method that checks the validity of a given path
-
Constructor Details
-
PathValidation
public PathValidation()Method that just throws an AssertionError if the class is called- Throws:
AssertionError
- you can't instantiate this class
-
-
Method Details
-
isPathValid
Method that checks the validity of a given path- Parameters:
inputPath
- the path given by the user- Returns:
- a boolean
-