All Packages Class Hierarchy This Package Previous Next Index
Class dispatcher.PicFile
java.lang.Object
|
+----dispatcher.PicFile
- public class PicFile
- extends Object
This class implements all file operation
-
PicFile()
-
-
appendFile(Graphics, String)
- Inserts a given file's contents after the last element
-
clear()
- Clear the file
-
createFile(String)
- Creates a new file with given name
-
getFile()
- Returns the File object
-
insertFile(Graphics, String)
- Inserts a given file's contents after the current element
-
newFile()
- Initialize the file
-
open(Graphics, String)
- Opens a file with given filename
-
save()
- Saves a file
-
saveAs(String)
- Saves a file with givaen filename
PicFile
public PicFile()
createFile
public static native int createFile(String filename)
- Creates a new file with given name
getFile
public static File getFile()
- Returns the File object
newFile
public static void newFile()
- Initialize the file
clear
public static void clear()
- Clear the file
open
public static void open(Graphics graphics,
String filepath)
- Opens a file with given filename
save
public static void save()
- Saves a file
saveAs
public static void saveAs(String filename)
- Saves a file with givaen filename
insertFile
public static void insertFile(Graphics graphics,
String filename)
- Inserts a given file's contents after the current element
appendFile
public static void appendFile(Graphics graphics,
String filename)
- Inserts a given file's contents after the last element
All Packages Class Hierarchy This Package Previous Next Index