Class Helpers

java.lang.Object
com.anhtester.helpers.SystemHelpers

public final class Helpers extends Object
  • Constructor Details

    • Helpers

      public Helpers()
  • Method Details

    • makeSlug

      public static String makeSlug(String input)
    • readFile

      public static String readFile(String file) throws IOException
      Throws:
      IOException
    • getCurrentDir

      public static String getCurrentDir()
      Returns:
      Get the path to your source directory with a / at the end
    • createFolder

      public static void createFolder(String path)
      Create folder empty
      Parameters:
      path - is the path to create the folder
    • splitString

      public static ArrayList<String> splitString(String str, String valueSplit)
      Parameters:
      str - is value as type is String to be split based on condition
      valueSplit - the character to split the string into an array of values
      Returns:
      array of string values after splitting