jasp.io
Class Drive
java.lang.Object
|
+--jasp.io.Drive
- public class Drive
- extends java.lang.Object
Contains methods and properties that allow you to gather
information about a drive attached to the system, such as
its share name and how much room is available. Note that
a "drive" isn't necessarily a hard disk, but can be a
CD-ROM drive, a RAM disk, and so forth. A drive doesn't
need to be physically attached to the system; it can be
also be logically connected through a network.
|
Constructor Summary |
Drive(java.lang.String n)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Drive
public Drive(java.lang.String n)
getAvailableSpace
public int getAvailableSpace()
getDriveLetter
public java.lang.String getDriveLetter()
getDriveType
public int getDriveType()
getFileSystem
public java.lang.String getFileSystem()
getFreeSpace
public int getFreeSpace()
IsReady
public boolean IsReady()
getPath
public java.lang.String getPath()
getRootFolder
public Folder getRootFolder()
getSerialNumber
public int getSerialNumber()
getShareName
public java.lang.String getShareName()
getTotalSize
public int getTotalSize()
getVolumeName
public java.lang.String getVolumeName()