Interface COM.tolstoy.jconfig.DiskVolume
All Packages Class Hierarchy This Package Previous Next Index
Interface COM.tolstoy.jconfig.DiskVolume
- public interface DiskVolume
- extends Object
- extends DiskObject
Represents a disk volume.
-
copyrightString
-
-
kCaseIsPreserved
- Mask used to indicate that case is preserved on this volume.
-
kCaseSensitive
- Mask used to indicate that file names used on this volume are case sensitive.
-
kCDROM
- Mask used to indicate that this is a CD-ROM.
-
kFilesCompressed
- Mask used to indicate that files saved to this volume will be compressed.
-
kFixed
- Mask used to indicate that this volume is fixed.
-
kRAM
- Mask used to indicate that this is a RAM disk.
-
kRemote
- Mask used to indicate that this is a remote volume.
-
kRemovable
- Mask used to indicate that this volume is removable.
-
kSystem
- Mask used to indicate that this is system disk.
-
kUnicodeSupported
- Mask used to indicate that this volume supports file names stored with Unicode.
-
kVolumeCompressed
- Mask used to indicate that this volume supports volume-level compression.
-
getFreeSpace()
- Returns the number of bytes currently available on this volume.
-
getMaxCapacity()
- Returns the maximum number of bytes of data this volume can hold.
-
getMaxFileNameLength()
- Returns the maximum length each element of a path name can have.
-
getPrefix()
- Returns the prefix used to access this volume.
-
getReferenceNumber()
- Returns the platform-specific number used to uniquely identify this volume.
copyrightString
public final static String copyrightString
kCaseIsPreserved
public final static int kCaseIsPreserved
- Mask used to indicate that case is preserved on this volume.
kCaseSensitive
public final static int kCaseSensitive
- Mask used to indicate that file names used on this volume are case sensitive.
kUnicodeSupported
public final static int kUnicodeSupported
- Mask used to indicate that this volume supports file names stored with Unicode.
kFilesCompressed
public final static int kFilesCompressed
- Mask used to indicate that files saved to this volume will be compressed.
kVolumeCompressed
public final static int kVolumeCompressed
- Mask used to indicate that this volume supports volume-level compression.
kRemovable
public final static int kRemovable
- Mask used to indicate that this volume is removable.
kFixed
public final static int kFixed
- Mask used to indicate that this volume is fixed.
kRemote
public final static int kRemote
- Mask used to indicate that this is a remote volume.
kCDROM
public final static int kCDROM
- Mask used to indicate that this is a CD-ROM.
kRAM
public final static int kRAM
- Mask used to indicate that this is a RAM disk.
kSystem
public final static int kSystem
- Mask used to indicate that this is system disk.
getPrefix
public abstract String getPrefix()
- Returns the prefix used to access this volume. E.g., 'c://' or '/Macintosh%20HD/'.
getMaxFileNameLength
public abstract int getMaxFileNameLength()
- Returns the maximum length each element of a path name can have.
getReferenceNumber
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
public abstract long getMaxCapacity()
- Returns the maximum number of bytes of data this volume can hold.
getFreeSpace
public abstract long getFreeSpace()
- Returns the number of bytes currently available on this volume.
All Packages Class Hierarchy This Package Previous Next Index