public class SaveDialog extends java.lang.Object
Constructor and Description |
---|
SaveDialog() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
chooseFile()
Displays a file save dialog
|
static java.lang.String |
chooseFile(java.lang.String defaultDir,
java.lang.String defaultName)
Displays a file save dialog, using the specified default directory and file name
|
static java.lang.String |
chooseFile(java.lang.String title,
java.lang.String defaultDir,
java.lang.String defaultName)
Displays a file save dialog, using the specified default directory and file name
|
static java.lang.String |
chooseFile(java.lang.String title,
java.lang.String defaultDir,
java.lang.String defaultName,
java.lang.String extension)
Displays a file save dialog, using the specified default directory and file name and
extension
|
static java.lang.String |
chooseFileForResult(java.lang.String defaultName)
Displays a file save dialog pointing to default result folder, using the specified default file name.
|
static java.lang.String |
chooseFileForResult(java.lang.String defaultName,
java.lang.String extension)
Displays a file save dialog pointing to default result folder, using the specified default file name and
extension.
|
static java.lang.String |
chooseFileForResult(java.lang.String title,
java.lang.String defaultName,
java.lang.String extension)
Displays a file save dialog pointing to default result folder, using the specified default file name and
extension.
|
public SaveDialog()
public static java.lang.String chooseFile(java.lang.String title, java.lang.String defaultDir, java.lang.String defaultName, java.lang.String extension)
public static java.lang.String chooseFile(java.lang.String title, java.lang.String defaultDir, java.lang.String defaultName)
public static java.lang.String chooseFile(java.lang.String defaultDir, java.lang.String defaultName)
public static java.lang.String chooseFile()
public static java.lang.String chooseFileForResult(java.lang.String title, java.lang.String defaultName, java.lang.String extension)
public static java.lang.String chooseFileForResult(java.lang.String defaultName, java.lang.String extension)
public static java.lang.String chooseFileForResult(java.lang.String defaultName)