net.rubygrapefruit.platform
Interface FileSystem

All Known Implementing Classes:
DefaultFileSystem

public interface FileSystem

Information about a file system. This is a snapshot view and does not change.


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.
 

Method Detail

getMountPoint

java.io.File getMountPoint()
Returns the root directory of this file system.


getFileSystemType

java.lang.String getFileSystemType()
Returns the operating system specific name for the type of this file system.


isRemote

boolean isRemote()
Returns true if this file system is a remote file system, or false if local.


getDeviceName

java.lang.String getDeviceName()
Returns the operating system specific name for this file system.