public class FileLoaderDialog extends Object
Constructor and Description |
---|
FileLoaderDialog() |
Modifier and Type | Method and Description |
---|---|
static JFileChooser |
createFileChooser() |
static JFileChooser |
createFileChooser(boolean useAcceptAllFileFilter,
FileFilter... ff) |
static JFileChooser |
createFileChooser(String ext,
String description) |
static File |
getLastDir() |
static File |
loadFile(Component parent,
boolean useAcceptAllFileFilter,
FileFilter... ff) |
static File |
loadFile(Component parent,
JComponent accessory) |
static File |
loadFile(Component parent,
String extension,
String description) |
static File[] |
loadFiles(Component parent) |
static File[] |
loadFiles(Component parent,
JComponent accessory) |
static File |
selectTargetFile(Component parent) |
static File |
selectTargetFile(Component parent,
boolean useAcceptAllFileFilter,
FileFilter... ff) |
static File |
selectTargetFile(Component parent,
JComponent accessory) |
static File |
selectTargetFile(Component parent,
JComponent accessory,
boolean useAcceptAllFileFilter,
FileFilter... ff) |
static File |
selectTargetFile(Component parent,
JComponent accessory,
String extension,
String description) |
static File |
selectTargetFile(Component parent,
String extension,
String description) |
static void |
setLastDir(File dir) |
public static void setLastDir(File dir)
public static File getLastDir()
public static JFileChooser createFileChooser()
public static JFileChooser createFileChooser(String ext, String description)
public static JFileChooser createFileChooser(boolean useAcceptAllFileFilter, FileFilter... ff)
public static File[] loadFiles(Component parent, JComponent accessory)
public static File loadFile(Component parent, boolean useAcceptAllFileFilter, FileFilter... ff)
public static File loadFile(Component parent, JComponent accessory)
public static File selectTargetFile(Component parent, JComponent accessory)
public static File selectTargetFile(Component parent, String extension, String description)
public static File selectTargetFile(Component parent, JComponent accessory, String extension, String description)
public static File selectTargetFile(Component parent, boolean useAcceptAllFileFilter, FileFilter... ff)
public static File selectTargetFile(Component parent, JComponent accessory, boolean useAcceptAllFileFilter, FileFilter... ff)