All Packages This Package Class Hierarchy Class Search Index
Summary |
public interface DiskVolume extends COM.tolstoy.jconfig.DiskObject { // Fields 12 public static final String copyrightString; public static final int kCDROM; public static final int kCaseIsPreserved; public static final int kCaseSensitive; public static final int kFilesCompressed; public static final int kFixed; public static final int kRAM; public static final int kRemote; public static final int kRemovable; public static final int kSystem; public static final int kUnicodeSupported; public static final int kVolumeCompressed; // Methods 5 public abstract long getFreeSpace(); public abstract long getMaxCapacity(); public abstract int getMaxFileNameLength(); public abstract String getPrefix(); public abstract int getReferenceNumber(); }
Represents a disk volume.
Cross Reference |
Fields |
· copyrightString | Summary | Top |
public static final String copyrightString
· kCaseIsPreserved | Summary | Top |
public static final int kCaseIsPreserved
Mask used to indicate that case is preserved on this volume.
· kCaseSensitive | Summary | Top |
public static final int kCaseSensitive
Mask used to indicate that file names used on this volume are case sensitive.
· kUnicodeSupported | Summary | Top |
public static final int kUnicodeSupported
Mask used to indicate that this volume supports file names stored with Unicode.
· kFilesCompressed | Summary | Top |
public static final int kFilesCompressed
Mask used to indicate that files saved to this volume will be compressed.
· kVolumeCompressed | Summary | Top |
public static final int kVolumeCompressed
Mask used to indicate that this volume supports volume-level compression.
· kRemovable | Summary | Top |
public static final int kRemovable
Mask used to indicate that this volume is removable.
· kFixed | Summary | Top |
public static final int kFixed
Mask used to indicate that this volume is fixed.
· kRemote | Summary | Top |
public static final int kRemote
Mask used to indicate that this is a remote volume.
· kCDROM | Summary | Top |
public static final int kCDROM
Mask used to indicate that this is a CD-ROM.
· kRAM | Summary | Top |
public static final int kRAM
Mask used to indicate that this is a RAM disk.
· kSystem | Summary | Top |
public static final int kSystem
Mask used to indicate that this is system disk.
Methods |
· getPrefix | Summary | Top |
public abstract String getPrefix()
Returns the prefix used to access this volume. E.g., 'c://' or '/Macintosh%20HD/'.
· getMaxFileNameLength | Summary | Top |
public abstract int getMaxFileNameLength()
Returns the maximum length each element of a path name can have.
· getReferenceNumber | Summary | Top |
public abstract int getReferenceNumber()
Returns the platform-specific number used to uniquely identify this volume. On Mac, this is a volume reference number. On Windows, this is a volume serial number.
· getMaxCapacity | Summary | Top |
public abstract long getMaxCapacity()
Returns the maximum number of bytes of data this volume can hold.
· getFreeSpace | Summary | Top |
public abstract long getFreeSpace()
Returns the number of bytes currently available on this volume.
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7