|
||||||||||
| 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. |
java.io.File |
getBackupFile()
This method tells what to name the backup file, if a backup is made. |
java.io.File |
getTargetFile()
This method specifies the file for saving. |
void |
saveTo(java.io.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 |
|---|
java.io.File getBackupFile()
throws java.io.IOException
java.io.IOException
boolean shouldBackup()
throws java.io.IOException
java.io.IOExceptionboolean continueWhenTempFileCreationFails()
void backupDone()
void saveTo(java.io.OutputStream os)
throws java.io.IOException
java.io.IOException - when saving fails for any reason
java.io.File getTargetFile()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||