Class TextFileLoader

java.lang.Object
utility.filehandling.TextFileLoader

public abstract class TextFileLoader extends Object
Utility class that operates file loading from other classes to return the text that will be operated on
  • Constructor Details

    • TextFileLoader

      public TextFileLoader()
  • Method Details

    • loadTextFile

      public static String loadTextFile(Path path) throws IOException, utility.exceptions.NullPathException, utility.exceptions.TextNotProcessedException
      Returns the text of various states of madlib text so CLI and Madlib operate on Strings instead of files
      Throws:
      IOException
      utility.exceptions.NullPathException
      utility.exceptions.TextNotProcessedException