Package com.tccc.kos.commons.core.vfs
Class KabVFSSource
java.lang.Object
com.tccc.kos.commons.core.vfs.AbstractVFSSource
com.tccc.kos.commons.core.vfs.KabVFSSource
Class that wraps a KAB file.
- Since:
- 1.0
- Version:
- 2022-08-30
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBasePath
(VFSSource source) Retrieves the base path for the given VFS source.Return details for the json view.getInputStream
(String path) Retrieves the input stream for the given path.toString()
Methods inherited from class com.tccc.kos.commons.core.vfs.AbstractVFSSource
getParent, isEnabled, setEnabled, setParent
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.tccc.kos.commons.core.vfs.VFSSource
getBasePath, getFullPath, onUnmount
-
Constructor Details
-
KabVFSSource
Creates a VFS source wrapper for the KAB file.
-
-
Method Details
-
getInputStream
Retrieves the input stream for the given path.- Specified by:
getInputStream
in interfaceVFSSource
- Parameters:
path
- the requested path- Returns:
- the input stream
-
getBasePath
Retrieves the base path for the given VFS source.- Specified by:
getBasePath
in interfaceVFSParent
- Parameters:
source
- the source to return the base path for- Returns:
- the base path
-
getDetails
Description copied from interface:VFSSource
Return details for the json view.- Specified by:
getDetails
in interfaceVFSSource
-
toString
-