public class DefaultFileSystem extends java.lang.Object implements FileSystem
Constructor and Description |
---|
DefaultFileSystem(java.io.File mountPoint,
java.lang.String fileSystemType,
java.lang.String deviceName,
boolean remote) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeviceName()
Returns the operating system specific name for this file system.
|
java.lang.String |
getFileSystemType()
Returns the operating system specific name for the type of this file system.
|
java.io.File |
getMountPoint()
Returns the root directory of this file system.
|
boolean |
isRemote()
Returns true if this file system is a remote file system, or false if local.
|
public DefaultFileSystem(java.io.File mountPoint, java.lang.String fileSystemType, java.lang.String deviceName, boolean remote)
public java.lang.String getDeviceName()
FileSystem
getDeviceName
in interface FileSystem
public java.io.File getMountPoint()
FileSystem
getMountPoint
in interface FileSystem
public java.lang.String getFileSystemType()
FileSystem
getFileSystemType
in interface FileSystem
public boolean isRemote()
FileSystem
isRemote
in interface FileSystem