Package javatro.utilities.outpututils
Class OutputUtils
java.lang.Object
javatro.utilities.outpututils.OutputUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidpipeOutputToFile(String fileName, Screen renderable) Pipes the output of the current screen to a file.
-
Constructor Details
-
OutputUtils
public OutputUtils()
-
-
Method Details
-
pipeOutputToFile
Pipes the output of the current screen to a file.- Parameters:
fileName- The name of the file to write to (e.g., "StartScreen.txt").renderable- The renderable screen object that has a render() method.- Throws:
IOException- If an I/O error occurs.
-