Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.update.configuration
Interface IVolume

All Superinterfaces:
IAdaptable

Deprecated. The org.eclipse.update component has been replaced by Equinox p2. This provisional API was never promoted to stable API, and may be removed from a future release of the platform.

public interface IVolume
extends IAdaptable

Local Volume Info. Represents local file system information for a specific volume.

This interface is not intended to be implemented by clients.

Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Since:
2.0
See Also:
LocalSystemInfo

Method Summary
  File getFile ()
          Deprecated. Returns the volume path.
 long getFreeSpace ()
          Deprecated. Returns the available free space on this volume.
  String getLabel ()
          Deprecated. returns volume label.
 int getType ()
          Deprecated. Returns volume type.
 
Methods inherited from interface org.eclipse.core.runtime. IAdaptable
getAdapter
 

Method Detail

getFreeSpace

long getFreeSpace()
Deprecated. 
Returns the available free space on this volume. Returns the amount of free space available to this user on the volume. The method takes into account any space quotas or other native mechanisms that may restrict space usage on a given volume.

Returns:
the amount of free space available (in units of Kbyte), or an indication the size is not known
Since:
2.0

Note: This method is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

See Also:
LocalSystemInfo.SIZE_UNKNOWN

getLabel

String getLabel()
Deprecated. 
returns volume label. Returns the label of the volume.

Returns:
volume label (as string), or null if the label cannot be determined.
Since:
2.0

Note: This method is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.


getType

int getType()
Deprecated. 
Returns volume type. Returns the type of the volume.

Returns:
volume type
Since:
2.0

Note: This method is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

See Also:
LocalSystemInfo.VOLUME_UNKNOWN, LocalSystemInfo.VOLUME_INVALID_PATH, LocalSystemInfo.VOLUME_REMOVABLE, LocalSystemInfo.VOLUME_FIXED, LocalSystemInfo.VOLUME_REMOTE, LocalSystemInfo.VOLUME_CDROM, LocalSystemInfo.VOLUME_FLOPPY_3, LocalSystemInfo.VOLUME_FLOPPY_5

getFile

File getFile()
Deprecated. 
Returns the volume path. Returns the path that represents the mount point of the volume.

Returns:
mount point file
Since:
2.0

Note: This method is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.


Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire