org.das2.util.filesystem
Class FileSystemSettings
java.lang.Object
org.das2.util.filesystem.FileSystemSettings
public class FileSystemSettings
- extends java.lang.Object
controls for file systems.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
localCacheDir
protected java.io.File localCacheDir
PROP_LOCALCACHEDIR
public static final java.lang.String PROP_LOCALCACHEDIR
- setting for the location of where the local cache is kept.
- See Also:
- Constant Field Values
persistence
protected FileSystemSettings.Persistence persistence
PROP_PERSISTENCE
public static final java.lang.String PROP_PERSISTENCE
- setting for how long files should be kept and using in the cache.
- See Also:
- Constant Field Values
allowOffline
protected boolean allowOffline
PROP_ALLOWOFFLINE
public static final java.lang.String PROP_ALLOWOFFLINE
- allow use of persistent, cached files when the file system is not accessible.
FileSystem implementations will throw FileNotFound exception when remote
resources are not available, and FileSystemOfflineExceptions are not
thrown.
- See Also:
- Constant Field Values
FileSystemSettings
protected FileSystemSettings()
getLocalCacheDir
public java.io.File getLocalCacheDir()
setLocalCacheDir
public void setLocalCacheDir(java.io.File localCacheDir)
getPersistence
public FileSystemSettings.Persistence getPersistence()
setPersistence
public void setPersistence(FileSystemSettings.Persistence persistence)
isAllowOffline
public boolean isAllowOffline()
setAllowOffline
public void setAllowOffline(boolean allowOffline)
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)