public class DefaultFolderSet extends BaseWeakReferencingObservable implements FolderSet
Modifier and Type | Class and Description |
---|---|
class |
DefaultFolderSet.DefaultFolderEntry |
FolderSet.FolderEntry
Constructor and Description |
---|
DefaultFolderSet() |
Modifier and Type | Method and Description |
---|---|
void |
add(File folder) |
void |
add(File folder,
String description) |
File |
asFile() |
boolean |
canRead() |
boolean |
canWrite() |
void |
clear() |
boolean |
exists() |
File |
getAbsoluteFile() |
String |
getAbsolutePath() |
File |
getCanonicalFile() |
String |
getCanonicalPath() |
File |
getDefaultFolder() |
String |
getName() |
String |
getParent() |
File |
getParentFile() |
String |
getPath() |
boolean |
isDirectory() |
boolean |
isFile() |
Iterator |
iterator() |
String[] |
list() |
String[] |
list(FilenameFilter filter) |
File[] |
listFiles() |
File[] |
listFiles(FileFilter filter) |
File[] |
listFiles(FilenameFilter filter) |
void |
remove(File folder) |
void |
set(File folder) |
void |
setDefaultFolder(File defaultFolder) |
addObserver, addObserver, addObservers, beginComplexNotification, clearChanged, clone, countObservers, deleteObserver, deleteObserver, deleteObservers, disableNotifications, enableNotifications, endComplexNotification, hasChanged, inComplex, isEnabledNotifications, notify, notifyObservers, notifyObservers, setChanged
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addObserver, deleteObserver, deleteObservers
public File[] listFiles(FileFilter filter)
public File[] listFiles(FilenameFilter filter)
public void setDefaultFolder(File defaultFolder)
setDefaultFolder
in interface FolderSet
public File getDefaultFolder()
getDefaultFolder
in interface FolderSet
public String[] list(FilenameFilter filter)
public boolean isDirectory()
isDirectory
in interface FolderSet
public File getParentFile()
getParentFile
in interface FolderSet
public File getCanonicalFile() throws IOException
getCanonicalFile
in interface FolderSet
IOException
public String getCanonicalPath() throws IOException
getCanonicalPath
in interface FolderSet
IOException
public File getAbsoluteFile()
getAbsoluteFile
in interface FolderSet
public String getAbsolutePath()
getAbsolutePath
in interface FolderSet