|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.virtualbox_5_2.IUnknown
org.virtualbox_5_2.IVFSExplorer
public class IVFSExplorer
The VFSExplorer interface unifies access to different file system
types. This includes local file systems as well remote file systems like
S3. For a list of supported types seeVFSType.
An instance of this is returned byIAppliance.createVFSExplorer(String).
Interface ID: {FB220201-2FD3-47E2-A5DC-2C2431D833CC}
| Field Summary |
|---|
| Fields inherited from class org.virtualbox_5_2.IUnknown |
|---|
obj, objMgr, port |
| Constructor Summary | |
|---|---|
IVFSExplorer(java.lang.String wrapped,
org.virtualbox_5_2.ObjectRefManager objMgr,
org.virtualbox_5_2.jaxws.VboxPortType port)
|
|
| Method Summary | |
|---|---|
IProgress |
cd(java.lang.String dir)
Change the current directory level. |
IProgress |
cdUp()
Go one directory upwards from the current directory level. |
void |
entryList(Holder<java.util.List<java.lang.String>> names,
Holder<java.util.List<java.lang.Long>> types,
Holder<java.util.List<java.lang.Long>> sizes,
Holder<java.util.List<java.lang.Long>> modes)
Returns a list of files/directories after a call to update(). |
java.util.List<java.lang.String> |
exists(java.util.List<java.lang.String> names)
Checks if the given file list exists in the current directory level. |
java.lang.String |
getPath()
Returns the current path in the virtual file system. |
VFSType |
getType()
Returns the file system type which is currently in use. |
static IVFSExplorer |
queryInterface(IUnknown obj)
|
IProgress |
remove(java.util.List<java.lang.String> names)
Deletes the given files in the current directory level. |
IProgress |
update()
Updates the internal list of files/directories from the current directory level. |
| Methods inherited from class org.virtualbox_5_2.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 IVFSExplorer(java.lang.String wrapped,
org.virtualbox_5_2.ObjectRefManager objMgr,
org.virtualbox_5_2.jaxws.VboxPortType port)
| Method Detail |
|---|
public java.lang.String getPath()
public VFSType getType()
public static IVFSExplorer queryInterface(IUnknown obj)
public IProgress update()
entryList(Holder,Holder,Holder,Holder)to get the full list
after a call to this method.
public IProgress cd(java.lang.String dir)
dir - The name of the directory to go in.
public IProgress cdUp()
public void entryList(Holder<java.util.List<java.lang.String>> names,
Holder<java.util.List<java.lang.Long>> types,
Holder<java.util.List<java.lang.Long>> sizes,
Holder<java.util.List<java.lang.Long>> modes)
update(). The user is responsible for keeping this internal
list up do date.
names - The list of names for the entries.types - The list of types for the entries.FsObjTypesizes - The list of sizes (in bytes) for the entries.modes - The list of file modes (in octal form) for the entries.public java.util.List<java.lang.String> exists(java.util.List<java.lang.String> names)
names - The names to check.
public IProgress remove(java.util.List<java.lang.String> names)
names - The names to remove.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||