public class FileChooser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static FileChooser |
chooser |
(package private) DFileChooser |
dFileChooser |
(package private) java.util.HashMap<java.lang.String,java.io.File> |
hmap |
Constructor and Description |
---|
FileChooser() |
Modifier and Type | Method and Description |
---|---|
void |
addExtensionFilter(java.lang.String exts,
java.lang.String desc) |
private void |
applyMode(java.lang.String mode) |
private void |
cacheDir(java.io.File f,
java.lang.String mode) |
static FileChooser |
getChooser() |
java.io.File |
getDirectory(java.io.File fdir,
java.lang.String approve) |
private java.io.File |
getDirectory(java.lang.String approve) |
java.io.File |
getDirectory(java.lang.String mode,
java.lang.String approve) |
java.io.File |
getFile(java.lang.String mode,
java.lang.String approve) |
java.io.File |
getFileToImport() |
java.io.File |
getFileToOpen(java.lang.String mode) |
java.io.File |
getFileToWrite(java.lang.String mode) |
java.io.File |
getFileToWrite(java.lang.String mode,
java.lang.String ext,
java.lang.String desc) |
java.io.File |
getFolder(java.io.File fdef) |
void |
setDefaultFolderForMode(java.lang.String mode,
java.io.File fdir) |
static FileChooser chooser
DFileChooser dFileChooser
java.util.HashMap<java.lang.String,java.io.File> hmap
public static FileChooser getChooser()
public void addExtensionFilter(java.lang.String exts, java.lang.String desc)
public java.io.File getFileToImport()
public java.io.File getFileToOpen(java.lang.String mode)
public java.io.File getFileToWrite(java.lang.String mode, java.lang.String ext, java.lang.String desc)
public java.io.File getFileToWrite(java.lang.String mode)
public void setDefaultFolderForMode(java.lang.String mode, java.io.File fdir)
private void applyMode(java.lang.String mode)
public java.io.File getFile(java.lang.String mode, java.lang.String approve)
private void cacheDir(java.io.File f, java.lang.String mode)
public java.io.File getDirectory(java.io.File fdir, java.lang.String approve)
public java.io.File getDirectory(java.lang.String mode, java.lang.String approve)
private java.io.File getDirectory(java.lang.String approve)
public java.io.File getFolder(java.io.File fdef)
Copyright © 2013. All Rights Reserved.