public class IDirectory extends IUnknown
{A508E094-BF24-4ECA-80C6-467766A1E4C0}
Constructor and Description |
---|
IDirectory(java.lang.String wrapped,
org.virtualbox_7_1.ObjectRefManager objMgr,
org.virtualbox_7_1.jaxws.VboxPortType port) |
Modifier and Type | Method and Description |
---|---|
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.
|
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public IDirectory(java.lang.String wrapped, org.virtualbox_7_1.ObjectRefManager objMgr, org.virtualbox_7_1.jaxws.VboxPortType port)
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()