|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.emboss.jemboss.soap.FileRoots
Retrieve the list of available filesystem roots
| Field Summary | |
private java.lang.String |
currentDir
currently selected directory |
private java.lang.String |
currentRoot
currently selected root |
private java.lang.String |
defaultRoot
default root |
private int |
defaultRootIndex
default root index |
private java.util.Hashtable |
fileRoots
server directory roots |
private java.util.Vector |
rootVector
file system roots |
| Constructor Summary | |
FileRoots(JembossParams mysettings)
|
|
| Method Summary | |
java.lang.String |
getCurrentDir()
Get the currently selected directory |
java.lang.String |
getCurrentRoot()
Get the currently selected root |
java.lang.String |
getDefaultRoot()
Get the default root, if defined, else return null |
int |
getDefaultRootIndex()
Get the index of the default root in the Vector, else return -1 |
java.util.Hashtable |
getRoots()
Get the list of file manager roots |
java.util.Vector |
getRootVector()
Get the list of file manager roots |
private void |
readObject(java.io.ObjectInputStream in)
|
void |
setCurrentDir(java.lang.String newDir)
Set the current directory |
void |
setCurrentRoot(java.lang.String newRoot)
Set the current root |
private void |
writeObject(java.io.ObjectOutputStream out)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.util.Hashtable fileRoots
private java.lang.String currentRoot
private java.lang.String currentDir
private java.util.Vector rootVector
private java.lang.String defaultRoot
private int defaultRootIndex
| Constructor Detail |
public FileRoots(JembossParams mysettings)
throws JembossSoapException
mysettings - jemboss properties
JembossSoapException - if connection fails| Method Detail |
public java.util.Hashtable getRoots()
public java.util.Vector getRootVector()
public java.lang.String getDefaultRoot()
public int getDefaultRootIndex()
public java.lang.String getCurrentDir()
public void setCurrentDir(java.lang.String newDir)
newDir - name of the new current directorypublic java.lang.String getCurrentRoot()
public void setCurrentRoot(java.lang.String newRoot)
newRoot - name of the new root.
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOException
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||