net.rubygrapefruit.platform.internal
Class DefaultFileSystem

java.lang.Object
  extended by net.rubygrapefruit.platform.internal.DefaultFileSystem
All Implemented Interfaces:
FileSystem

public class DefaultFileSystem
extends java.lang.Object
implements FileSystem


Constructor Summary
DefaultFileSystem(java.io.File mountPoint, java.lang.String fileSystemType, java.lang.String deviceName, boolean remote)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFileSystem

public DefaultFileSystem(java.io.File mountPoint,
                         java.lang.String fileSystemType,
                         java.lang.String deviceName,
                         boolean remote)
Method Detail

getDeviceName

public java.lang.String getDeviceName()
Description copied from interface: FileSystem
Returns the operating system specific name for this file system.

Specified by:
getDeviceName in interface FileSystem

getMountPoint

public java.io.File getMountPoint()
Description copied from interface: FileSystem
Returns the root directory of this file system.

Specified by:
getMountPoint in interface FileSystem

getFileSystemType

public java.lang.String getFileSystemType()
Description copied from interface: FileSystem
Returns the operating system specific name for the type of this file system.

Specified by:
getFileSystemType in interface FileSystem

isRemote

public boolean isRemote()
Description copied from interface: FileSystem
Returns true if this file system is a remote file system, or false if local.

Specified by:
isRemote in interface FileSystem