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.

Variable Index

 o copyrightString
 o kCaseIsPreserved
Mask used to indicate that case is preserved on this volume.
 o kCaseSensitive
Mask used to indicate that file names used on this volume are case sensitive.
 o kCDROM
Mask used to indicate that this is a CD-ROM.
 o kFilesCompressed
Mask used to indicate that files saved to this volume will be compressed.
 o kFixed
Mask used to indicate that this volume is fixed.
 o kRAM
Mask used to indicate that this is a RAM disk.
 o kRemote
Mask used to indicate that this is a remote volume.
 o kRemovable
Mask used to indicate that this volume is removable.
 o kSystem
Mask used to indicate that this is system disk.
 o kUnicodeSupported
Mask used to indicate that this volume supports file names stored with Unicode.
 o kVolumeCompressed
Mask used to indicate that this volume supports volume-level compression.

Method Index

 o getFreeSpace()
Returns the number of bytes currently available on this volume.
 o getMaxCapacity()
Returns the maximum number of bytes of data this volume can hold.
 o getMaxFileNameLength()
Returns the maximum length each element of a path name can have.
 o getPrefix()
Returns the prefix used to access this volume.
 o getReferenceNumber()
Returns the platform-specific number used to uniquely identify this volume.

Variables

 o copyrightString
  public final static String copyrightString
 o kCaseIsPreserved
  public final static int kCaseIsPreserved
Mask used to indicate that case is preserved on this volume.
 o kCaseSensitive
  public final static int kCaseSensitive
Mask used to indicate that file names used on this volume are case sensitive.
 o kUnicodeSupported
  public final static int kUnicodeSupported
Mask used to indicate that this volume supports file names stored with Unicode.
 o kFilesCompressed
  public final static int kFilesCompressed
Mask used to indicate that files saved to this volume will be compressed.
 o kVolumeCompressed
  public final static int kVolumeCompressed
Mask used to indicate that this volume supports volume-level compression.
 o kRemovable
  public final static int kRemovable
Mask used to indicate that this volume is removable.
 o kFixed
  public final static int kFixed
Mask used to indicate that this volume is fixed.
 o kRemote
  public final static int kRemote
Mask used to indicate that this is a remote volume.
 o kCDROM
  public final static int kCDROM
Mask used to indicate that this is a CD-ROM.
 o kRAM
  public final static int kRAM
Mask used to indicate that this is a RAM disk.
 o kSystem
  public final static int kSystem
Mask used to indicate that this is system disk.

Methods

 o getPrefix
  public abstract String getPrefix()
Returns the prefix used to access this volume. E.g., 'c://' or '/Macintosh%20HD/'.
 o getMaxFileNameLength
  public abstract int getMaxFileNameLength()
Returns the maximum length each element of a path name can have.
 o 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.
 o getMaxCapacity
  public abstract long getMaxCapacity()
Returns the maximum number of bytes of data this volume can hold.
 o getFreeSpace
  public abstract long getFreeSpace()
Returns the number of bytes currently available on this volume.

All Packages  Class Hierarchy  This Package  Previous  Next  Index