public class ScriptEditor
extends java.lang.Object
Constructor and Description |
---|
ScriptEditor(java.lang.String fileName)
Creates a new Script editor object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContents() |
static void |
main(java.lang.String[] args)
Displays simple example to load contents of a file, print it, and rasave the file
|
void |
writeFile(java.lang.String message)
Replaces a file with given String
|
public ScriptEditor(java.lang.String fileName)
public static void main(java.lang.String[] args) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public void writeFile(java.lang.String message)
public java.lang.String getContents()