|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Specifies a remote interface for browsing remote directories.
| Method Summary | |
char |
getFileSepChar()
Returns the file separation character of the remote machine. |
java.lang.String |
getUserDir()
Returns the user directory in the remote machine. |
boolean |
isDirectory(java.lang.String fl)
Checks whether the remote file is a directory. |
java.lang.String[] |
listFiles()
Returns files in the current directory of the remote machine. |
java.lang.String[] |
listFiles(java.lang.String fl)
Returns files in a specified directory of the remote machine. |
| Method Detail |
public java.lang.String[] listFiles()
throws java.rmi.RemoteException
public java.lang.String[] listFiles(java.lang.String fl)
throws java.rmi.RemoteException
fl - name of the remote directory.
public boolean isDirectory(java.lang.String fl)
throws java.rmi.RemoteException
fl - name of the remote directory.
public java.lang.String getUserDir()
throws java.rmi.RemoteException
public char getFileSepChar()
throws java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||