org.virtualbox_6_0
Class IDirectory

java.lang.Object
  extended by org.virtualbox_6_0.IUnknown
      extended by org.virtualbox_6_0.IDirectory
Direct Known Subclasses:
IGuestDirectory

public class IDirectory
extends IUnknown

Abstract parent interface for directories handled by VirtualBox. Interface ID: {758D7EAC-E4B1-486A-8F2E-747AE346C3E9}


Field Summary
 
Fields inherited from class org.virtualbox_6_0.IUnknown
obj, objMgr, port
 
Constructor Summary
IDirectory(java.lang.String wrapped, org.virtualbox_6_0.ObjectRefManager objMgr, org.virtualbox_6_0.jaxws.VboxPortType port)
           
 
Method Summary
 void close()
          Closes this directory.
 java.lang.String getDirectoryName()
          The path specified when opening the directory.
 java.lang.String getFilter()
          Directory listing filter to (specified when opening the directory).
static IDirectory queryInterface(IUnknown obj)
           
 IFsObjInfo read()
          Reads the next directory entry of this directory.
 
Methods inherited from class org.virtualbox_6_0.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

IDirectory

public IDirectory(java.lang.String wrapped,
                  org.virtualbox_6_0.ObjectRefManager objMgr,
                  org.virtualbox_6_0.jaxws.VboxPortType port)
Method Detail

getDirectoryName

public java.lang.String getDirectoryName()
The path specified when opening the directory.

Returns:
String

getFilter

public java.lang.String getFilter()
Directory listing filter to (specified when opening the directory).

Returns:
String

queryInterface

public static IDirectory queryInterface(IUnknown obj)

close

public void close()
Closes this directory. After closing operations like reading the next directory entry will not be possible anymore.


read

public IFsObjInfo read()
Reads the next directory entry of this directory.

Returns:
Object information of the current directory entry read. Also seeIFsObjInfo. Expected result codes:
VBOX_E_OBJECT_NOT_FOUNDNo more directory entries to read.