Package de.xima.fc.common.filesystem
Class VolumeFileSystem<FD>
- java.lang.Object
-
- de.xima.fc.common.filesystem.VolumeFileSystem<FD>
-
- Type Parameters:
FD
- The type of the file system entries.
- All Implemented Interfaces:
Serializable
public final class VolumeFileSystem<FD> extends Object implements Serializable
Combines aICommonFileSystemVolume
with aICommonFileSystem
. This is useful when you need to convince Java that the type arguments of the volume and file system are the same.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VolumeFileSystem(ICommonFileSystemVolume<FD> volume, ICommonFileSystem<FD> fileSystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ICommonFileSystem<FD>
fileSystem()
Gets the file system implementation for the volume.ICommonFileSystemVolume<FD>
volume()
Gets the volume descriptor.
-
-
-
Constructor Detail
-
VolumeFileSystem
public VolumeFileSystem(ICommonFileSystemVolume<FD> volume, ICommonFileSystem<FD> fileSystem)
-
-
Method Detail
-
fileSystem
public ICommonFileSystem<FD> fileSystem()
Gets the file system implementation for the volume.- Returns:
- The file system.
-
volume
public ICommonFileSystemVolume<FD> volume()
Gets the volume descriptor.- Returns:
- The volume.
-
-