sdmetrics.app
Interface OverwriteConfirmation
- public interface OverwriteConfirmation
Prompt user to confirm file overwrite.
|
Method Summary |
boolean |
okToOverwrite(java.lang.String fileName,
boolean oneFile)
Check if file to write exists, and ask user to confirm to overwrite. |
okToOverwrite
public boolean okToOverwrite(java.lang.String fileName,
boolean oneFile)
- Check if file to write exists, and ask user to confirm to overwrite.
- Parameters:
fileName - File to writeoneFile - true if this is a single
file export, false if this is a multi file export (and a dialog
may offer a "yes to all" option)
- Returns:
true if file does not exist yet or can be overwritten,
false if user vetoed to overwrite the existing file.