void writeToFile(String filePath, Object contents)
void writeToFile(String filePath, Object contents)
Any previous contents are overwritten.
Name | Type | Description |
---|---|---|
filePath | String | Absolute path of the file to write to. |
contents | Object | byte[] form of contents. |
Type | Description |
---|---|
void |