Package org.projecthusky.common.utils
Class FileUtil
java.lang.Object
org.projecthusky.common.utils.FileUtil
File handling utilities
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
combinePath
(String path1, String path2) Deprecated, for removal: This API element is subject to removal in a future version.(at next version)static void
saveString2File
(String outputString, String outputFileName) Saves the given String to the given File (plain text).
-
Method Details
-
combinePath
Deprecated, for removal: This API element is subject to removal in a future version.(at next version)Returns a combined Path of path1 and path2.- Parameters:
path1
- the first part (head) of the combined path.path2
- the second part (tail) of the combined path.- Returns:
- the combined Path of path1 and path2.
-
saveString2File
Saves the given String to the given File (plain text). The file will be overwritten by this method.- Parameters:
outputString
- This string will be saved into the given fileoutputFileName
- The given string will be saved to this file
-