public final class FileWrapper
extends java.lang.Object
Constructor and Description |
---|
FileWrapper(java.io.File file,
java.lang.String fileContent) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getFile()
Get the stored File instance
|
java.lang.String |
getFileContent()
Get the stored raw content of the file as a String
|
void |
setFileContent(java.lang.String fileContent)
Used for updating via FileManager#update, I don't recommend messing with this manually.
|
public java.io.File getFile()
public java.lang.String getFileContent()
public void setFileContent(java.lang.String fileContent)
fileContent
- updated file content to replace the current