public interface IVolume extends IAdaptable
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.
LocalSystemInfo
Modifier and Type | Method and Description |
---|---|
File |
getFile()
Returns the volume path.
|
long |
getFreeSpace()
Returns the available free space on this volume.
|
String |
getLabel()
returns volume label.
|
int |
getType()
Returns volume type.
|
getAdapter
long getFreeSpace()
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.
LocalSystemInfo.SIZE_UNKNOWN
String getLabel()
null
if
the label cannot be determined.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.
int getType()
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.
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
File getFile()
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.
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.