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