Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix ] Distribution Issues

    All Packages  This Package  Class Hierarchy  Class Search  Index

Interface com.jconfig.DiskVolume

Summary

    public interface  DiskVolume
         extends com.jconfig.DiskObject
    {
              // Fields 12
         public static final int VOL_CASE_PRESERVED;
         public static final int VOL_CASE_SENSITIVE;
         public static final int VOL_CDROM;
         public static final int VOL_FILES_COMPRESSED;
         public static final int VOL_FIXED;
         public static final int VOL_RAM;
         public static final int VOL_REMOTE;
         public static final int VOL_REMOVABLE;
         public static final int VOL_SYSTEM;
         public static final int VOL_UNICODE;
         public static final int VOL_VOL_COMPRESSED;
         public static final String copyrightString;

              // Methods 5
         public abstract long getFreeSpace();
         public abstract long getMaxCapacity();
         public abstract int getMaxFileNameLength();
         public abstract String getPrefix();
         public abstract long getReferenceNumber();
    }

Represents a disk volume.

Author:
  Copyright (c) 1997,1998,1999,2000 Samizdat Productions. All Rights Reserved.

Cross Reference

Returned By:
  DiskFile.getVolume(), FileRegistryI.getVolumes(), FileRegistry.getVolumes()

Fields

### · copyrightString | Summary | Top

       public static final String copyrightString

### · VOL_CASE_PRESERVED | Summary | Top

       public static final int VOL_CASE_PRESERVED

> Mask used to indicate that case is preserved on this volume.

### · VOL_CASE_SENSITIVE | Summary | Top

       public static final int VOL_CASE_SENSITIVE

> Mask used to indicate that file names used on this volume are case sensitive.

### · VOL_UNICODE | Summary | Top

       public static final int VOL_UNICODE

> Mask used to indicate that this volume supports file names stored with Unicode.

### · VOL_FILES_COMPRESSED | Summary | Top

       public static final int VOL_FILES_COMPRESSED

> Mask used to indicate that files saved to this volume will be compressed.

### · VOL_VOL_COMPRESSED | Summary | Top

       public static final int VOL_VOL_COMPRESSED

> Mask used to indicate that this volume supports volume-level compression.

### · VOL_REMOVABLE | Summary | Top

       public static final int VOL_REMOVABLE

> Mask used to indicate that this volume is removable.

### · VOL_FIXED | Summary | Top

       public static final int VOL_FIXED

> Mask used to indicate that this volume is fixed.

### · VOL_REMOTE | Summary | Top

       public static final int VOL_REMOTE

> Mask used to indicate that this is a remote volume.

### · VOL_CDROM | Summary | Top

       public static final int VOL_CDROM

> Mask used to indicate that this is a CD-ROM.

### · VOL_RAM | Summary | Top

       public static final int VOL_RAM

> Mask used to indicate that this is a RAM disk.

### · VOL_SYSTEM | Summary | Top

       public static final int VOL_SYSTEM

> 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 long 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  Index

Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7