|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.virtualbox_7_1.IUnknown
org.virtualbox_7_1.IDirectory
public class IDirectory
Abstract parent interface for directories handled by VirtualBox.
Interface ID: {A508E094-BF24-4ECA-80C6-467766A1E4C0}
Field Summary |
---|
Fields inherited from class org.virtualbox_7_1.IUnknown |
---|
obj, objMgr, port |
Constructor Summary | |
---|---|
IDirectory(java.lang.String wrapped,
org.virtualbox_7_1.ObjectRefManager objMgr,
org.virtualbox_7_1.jaxws.VboxPortType port)
|
Method Summary | |
---|---|
void |
close()
Closes this directory. |
java.lang.String |
getDirectoryName()
The path specified when opening the directory. |
IEventSource |
getEventSource()
Event source for directory events. |
java.lang.String |
getFilter()
Directory listing filter to (specified when opening the directory). |
java.lang.Long |
getId()
The ID VirtualBox internally assigned to the open directory. |
DirectoryStatus |
getStatus()
Current directory status. |
java.util.List<IFsObjInfo> |
list(java.lang.Long maxEntries)
Lists directory entries of this directory. |
static IDirectory |
queryInterface(IUnknown obj)
|
IFsObjInfo |
read()
Reads the next directory entry of this directory. |
void |
rewind()
Rewinds the directory reading. |
Methods inherited from class org.virtualbox_7_1.IUnknown |
---|
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IDirectory(java.lang.String wrapped, org.virtualbox_7_1.ObjectRefManager objMgr, org.virtualbox_7_1.jaxws.VboxPortType port)
Method Detail |
---|
public java.lang.String getDirectoryName()
public IEventSource getEventSource()
public java.lang.String getFilter()
public java.lang.Long getId()
public DirectoryStatus getStatus()
public static IDirectory queryInterface(IUnknown obj)
public void close()
public java.util.List<IFsObjInfo> list(java.lang.Long maxEntries)
VBOX_E_OBJECT_NOT_FOUND
- No more directory entries to read.VBOX_E_NOT_SUPPORTED
- Method not supported by installed Guest Additions.
maxEntries
- Maximum entries to return per call. The guest might decide to return less than the given maximum, depending on
the guest OS.
IFsObjInfo
.public IFsObjInfo read()
VBOX_E_OBJECT_NOT_FOUND
- No more directory entries to read.
IFsObjInfo
.public void rewind()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |