Class TextFileLoader
java.lang.Object
utility.filehandling.TextFileLoader
Utility class that operates file loading from other classes to return the text that will be operated on
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringloadTextFile(Path path) Returns the text of various states of madlib text so CLI and Madlib operate on Strings instead of files
-
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:
IOExceptionutility.exceptions.NullPathExceptionutility.exceptions.TextNotProcessedException
-