Contents
Class FileUtil
java.lang.Object
eu.mihosoft.vrl.v3d.FileUtil
File util class.
- Author:
- Michael Hoffer <info@michaelhoffer.de>
-
Method Details
-
write
Writes the specified string to a file.- Parameters:
p
- file destination (existing files will be overwritten)s
- string to save- Throws:
IOException
- if writing to file fails
-
read
Reads the specified file to a string.- Parameters:
p
- file to read- Returns:
- the content of the file
- Throws:
IOException
- if reading from file failed
-