+ +
+ +

Class PathValidation

+
+
java.lang.Object +
musichub.business.PathValidation
+
+
+
+
public final class PathValidation +extends Object
+
Class offering a path validation method.
+
+
Version:
+
1.0
+
Author:
+
Aimeric ADJUTOR
+
+
+
+ +
+
+
    + +
  • +
    +

    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

      +
      public static boolean isPathValid(String inputPath)
      +
      Method that checks the validity of a given path
      +
      +
      Parameters:
      +
      inputPath - the path given by the user
      +
      Returns:
      +
      a boolean
      +
      +
      +
    • +
    +
    +
  • +
+
+ +