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()
FileSystemgetDeviceName in interface FileSystempublic java.io.File getMountPoint()
FileSystemgetMountPoint in interface FileSystempublic java.lang.String getFileSystemType()
FileSystemgetFileSystemType in interface FileSystempublic boolean isRemote()
FileSystemisRemote in interface FileSystem