-
-
Notifications
You must be signed in to change notification settings - Fork 33
FileHandler Class
wagyourtail edited this page Sep 20, 2020
·
3 revisions
The File Handler Methods Are As Follows:
Example: new FileHandler(path)
Initialize, to call this it is easiest to refer to FS
Example: file.write(content)
Write string to file.
Example: file.append(content)
Append string to file.
Example: file.read()
returns the file contents as a String
.
Example: file.readBytes()
returns a byte[]
of the file contents.
read file, returns a string.