Package io.nuov.util
Class FileUtils
java.lang.Object
io.nuov.util.FileUtils
The class FileUtils.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InputStreamgetInputStream(String path) Loads the file located at path and returns it as an InputStream.static StringLoads the file located at path and returns it as a String.
-
Constructor Details
-
FileUtils
public FileUtils()
-
-
Method Details
-
getInputStream
Loads the file located at path and returns it as an InputStream.- Parameters:
path- the path of the file- Returns:
- the input stream
-
getString
Loads the file located at path and returns it as a String.- Parameters:
path- the path of the file- Returns:
- the string
-