Package com.tccc.kos.commons.core.vfs
Class AbstractVFSSource
java.lang.Object
com.tccc.kos.commons.core.vfs.AbstractVFSSource
- All Implemented Interfaces:
- VFSSource
- Direct Known Subclasses:
- FilesystemVFSSource,- KabVFSSource,- PathRewritingVFSSource,- ProxyVFSSource,- StackedVFSSource,- VFS
Abstract base class for all concrete VFSSource classes.
- Since:
- 1.0
- Version:
- 2022-08-30
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tccc.kos.commons.core.vfs.VFSSourcegetBasePath, getDetails, getFullPath, getInputStream, onUnmount
- 
Constructor Details- 
AbstractVFSSourcepublic AbstractVFSSource()
 
- 
- 
Method Details- 
getParentRetrieves ths VFS parent.
- 
setParentSets the VFS parent.
- 
setEnabledpublic void setEnabled(boolean enabled) Set the enabled flag for the source. Sources that are disabled will not return any content but are still linked to the VFS graph.- Parameters:
- enabled- true to enable the source
 
- 
isEnabledpublic boolean isEnabled()Description copied from interface:VFSSourceReturn true if the source is enabled. Disabled sources will not be accessible.
 
-