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, setChangedequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddObserver, deleteObserver, deleteObserverspublic File[] listFiles(FileFilter filter)
public File[] listFiles(FilenameFilter filter)
public void setDefaultFolder(File defaultFolder)
setDefaultFolder in interface FolderSetpublic File getDefaultFolder()
getDefaultFolder in interface FolderSetpublic String[] list(FilenameFilter filter)
public boolean isDirectory()
isDirectory in interface FolderSetpublic File getParentFile()
getParentFile in interface FolderSetpublic File getCanonicalFile() throws IOException
getCanonicalFile in interface FolderSetIOExceptionpublic String getCanonicalPath() throws IOException
getCanonicalPath in interface FolderSetIOExceptionpublic File getAbsoluteFile()
getAbsoluteFile in interface FolderSetpublic String getAbsolutePath()
getAbsolutePath in interface FolderSet