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(java.io.File folder) |
void |
add(java.io.File folder,
java.lang.String description) |
java.io.File |
asFile() |
boolean |
canRead() |
boolean |
canWrite() |
void |
clear() |
boolean |
exists() |
java.io.File |
getAbsoluteFile() |
java.lang.String |
getAbsolutePath() |
java.io.File |
getCanonicalFile() |
java.lang.String |
getCanonicalPath() |
java.io.File |
getDefaultFolder() |
java.lang.String |
getName() |
java.lang.String |
getParent() |
java.io.File |
getParentFile() |
java.lang.String |
getPath() |
boolean |
isDirectory() |
boolean |
isFile() |
java.util.Iterator |
iterator() |
java.lang.String[] |
list() |
java.lang.String[] |
list(java.io.FilenameFilter filter) |
java.io.File[] |
listFiles() |
java.io.File[] |
listFiles(java.io.FileFilter filter) |
java.io.File[] |
listFiles(java.io.FilenameFilter filter) |
void |
remove(java.io.File folder) |
void |
set(java.io.File folder) |
void |
setDefaultFolder(java.io.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 void add(java.io.File folder, java.lang.String description)
public java.io.File[] listFiles(java.io.FileFilter filter)
public java.io.File[] listFiles(java.io.FilenameFilter filter)
public void setDefaultFolder(java.io.File defaultFolder)
setDefaultFolder
in interface FolderSet
public java.io.File getDefaultFolder()
getDefaultFolder
in interface FolderSet
public java.lang.String[] list(java.io.FilenameFilter filter)
public boolean isDirectory()
isDirectory
in interface FolderSet
public java.io.File getParentFile()
getParentFile
in interface FolderSet
public java.io.File getCanonicalFile() throws java.io.IOException
getCanonicalFile
in interface FolderSet
java.io.IOException
public java.lang.String getCanonicalPath() throws java.io.IOException
getCanonicalPath
in interface FolderSet
java.io.IOException
public java.io.File getAbsoluteFile()
getAbsoluteFile
in interface FolderSet
public java.lang.String getAbsolutePath()
getAbsolutePath
in interface FolderSet