|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileAccessable
This class provides the services that access a file. The file access functionalities are: create a new file, open a file, save a file, save all files, close a file, closes all files, print a file, and printer setup.
| Method Summary | |
|---|---|
void |
closeAllFiles()
Closes all files opened in the JML editor. |
void |
closeFile()
Close the actual editing file in the JML editor. |
void |
closeFile(File file)
Close the file given. |
void |
createNewFile()
Creates a new empty file in the JML editor |
void |
createNewFile(String currentDir)
Creates a new empty file in the JML editor giving the path where to create it. |
void |
openFile()
Opens an existing file to the JML editor, asking for the file name. |
void |
openFile(File file)
Opens an existing file, giving the absolute file name. |
void |
printerSetup()
Calls the printer setup |
void |
printFile()
Prints the active editing file |
void |
saveAllFiles()
Saves all files opened in the JML editor. |
void |
saveAs()
Saves the contents of the active editing file into a new file, which name is provided by the user. |
void |
saveFile()
Saves the changes of the active editing file. |
| Method Detail |
|---|
void createNewFile()
void createNewFile(String currentDir)
void openFile()
void openFile(File file)
void saveFile()
void saveAs()
void saveAllFiles()
void closeFile()
void closeFile(File file)
file - File given.void closeAllFiles()
void printFile()
void printerSetup()
|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||