|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface FileOps.FileSaver
| Method Summary | |
|---|---|
void |
backupDone()
This method is called to tell the file saver that a backup was successfully made. |
boolean |
continueWhenTempFileCreationFails()
This method specifies if the saving process should continue trying to save the file if the temp file that is written initially cannot be created. |
File |
getBackupFile()
This method tells what to name the backup file, if a backup is made. |
File |
getTargetFile()
This method specifies the file for saving. |
void |
saveTo(OutputStream os)
This method actually writes info to a file. |
boolean |
shouldBackup()
This method indicates whether or not a backup of the file should be made. |
| Method Detail |
|---|
File getBackupFile()
throws IOException
IOException
boolean shouldBackup()
throws IOException
IOExceptionboolean continueWhenTempFileCreationFails()
void backupDone()
void saveTo(OutputStream os)
throws IOException
IOException - when saving fails for any reason
File getTargetFile()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||