|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RemoteFile | |
---|---|
com.myjavaworld.ftp | This package contains the interfaces and default implementations for accessing a remote computer using file transfer protocol (FTP). |
Uses of RemoteFile in com.myjavaworld.ftp |
---|
Classes in com.myjavaworld.ftp that implement RemoteFile | |
---|---|
class |
DefaultRemoteFile
The default implementation of RemoteFile interface. |
Fields in com.myjavaworld.ftp declared as RemoteFile | |
---|---|
protected RemoteFile |
DefaultFTPClient.workingDirectory
Keep track of the current working directory on the remote host. |
Methods in com.myjavaworld.ftp that return RemoteFile | |
---|---|
RemoteFile |
ListParser.createRemoteFile(RemoteFile parent,
String name)
Creates a RemoteFile object |
RemoteFile |
DosListParser.createRemoteFile(RemoteFile parent,
String name)
|
RemoteFile |
DefaultListParser.createRemoteFile(RemoteFile parent,
String name)
|
RemoteFile |
ListParser.createRemoteFile(RemoteFile parent,
String name,
boolean dir)
Creates a RemoteFile object. |
RemoteFile |
DosListParser.createRemoteFile(RemoteFile parent,
String name,
boolean dir)
|
RemoteFile |
DefaultListParser.createRemoteFile(RemoteFile parent,
String name,
boolean dir)
|
RemoteFile |
ListParser.createRemoteFile(String path)
Creates a RemoteFile object. |
RemoteFile |
DosListParser.createRemoteFile(String path)
|
RemoteFile |
DefaultListParser.createRemoteFile(String path)
|
RemoteFile |
ListParser.createRemoteFile(String path,
boolean dir)
Creates a RemoteFile object. |
RemoteFile |
DosListParser.createRemoteFile(String path,
boolean dir)
|
RemoteFile |
DefaultListParser.createRemoteFile(String path,
boolean dir)
|
RemoteFile |
ListParser.createRemoteFile(String parent,
String name)
Creates a RemoteFile object. |
RemoteFile |
DosListParser.createRemoteFile(String parent,
String name)
|
RemoteFile |
DefaultListParser.createRemoteFile(String parent,
String name)
|
RemoteFile |
ListParser.createRemoteFile(String parent,
String name,
boolean dir)
Creates a RemoteFile object. |
RemoteFile |
DosListParser.createRemoteFile(String parent,
String name,
boolean dir)
|
RemoteFile |
DefaultListParser.createRemoteFile(String parent,
String name,
boolean dir)
|
RemoteFile |
FTPClient.getWorkingDirectory()
Returns the current working directory. |
RemoteFile |
DefaultFTPClient.getWorkingDirectory()
|
RemoteFile[] |
FTPClient.list()
Retrieves the contents (children) of the current working directory. |
RemoteFile[] |
DefaultFTPClient.list()
|
RemoteFile[] |
FTPClient.list(Filter filter)
Retrieves the children of the current working directory. |
RemoteFile[] |
DefaultFTPClient.list(Filter filter)
|
RemoteFile[] |
FTPClient.list(RemoteFile dir)
Returns the direct children of the specified directory. |
RemoteFile[] |
DefaultFTPClient.list(RemoteFile dir)
|
RemoteFile[] |
DataConnection.list(RemoteFile dir)
Parses the data received over this data connection to an array of RemoteFile objects. |
RemoteFile[] |
FTPClient.list(RemoteFile dir,
Filter filter)
Returns the direct children of the specified directory. |
RemoteFile[] |
DefaultFTPClient.list(RemoteFile dir,
Filter filter)
|
RemoteFile[] |
ListParser.parse(RemoteFile parent,
BufferedReader reader)
Parses the directory listing returned by an FTP server into an array of RemoteFile objects. |
RemoteFile[] |
DosListParser.parse(RemoteFile parent,
BufferedReader reader)
|
RemoteFile[] |
DefaultListParser.parse(RemoteFile parent,
BufferedReader reader)
|
RemoteFile |
ListParser.parse(RemoteFile parent,
String rawData)
Parses a line of output in to a RemoteFile object. |
RemoteFile |
DosListParser.parse(RemoteFile parent,
String rawData)
|
RemoteFile |
DefaultListParser.parse(RemoteFile parent,
String line)
|
RemoteFile |
FTPClient.setToParentDirectory()
Sets the remote working directory to the parent directory of the current working directory. |
RemoteFile |
DefaultFTPClient.setToParentDirectory()
|
RemoteFile |
FTPClient.setWorkingDirectory(RemoteFile dir)
Sets the remote working directory to the specified directory dir . |
RemoteFile |
DefaultFTPClient.setWorkingDirectory(RemoteFile dir)
|
Methods in com.myjavaworld.ftp with parameters of type RemoteFile | |
---|---|
void |
FTPClient.createDirectory(RemoteFile dir)
Creates the specified remote directory dir on the remote
host. |
void |
DefaultFTPClient.createDirectory(RemoteFile dir)
|
void |
FTPClient.createFile(RemoteFile file)
Creates an empty file with the given name on the remote host. |
void |
DefaultFTPClient.createFile(RemoteFile file)
|
RemoteFile |
ListParser.createRemoteFile(RemoteFile parent,
String name)
Creates a RemoteFile object |
RemoteFile |
DosListParser.createRemoteFile(RemoteFile parent,
String name)
|
RemoteFile |
DefaultListParser.createRemoteFile(RemoteFile parent,
String name)
|
RemoteFile |
ListParser.createRemoteFile(RemoteFile parent,
String name,
boolean dir)
Creates a RemoteFile object. |
RemoteFile |
DosListParser.createRemoteFile(RemoteFile parent,
String name,
boolean dir)
|
RemoteFile |
DefaultListParser.createRemoteFile(RemoteFile parent,
String name,
boolean dir)
|
void |
FTPClient.delete(RemoteFile path)
Deletes the specified path from the remote system. |
void |
DefaultFTPClient.delete(RemoteFile path)
|
void |
FTPClient.deleteDirectory(RemoteFile dir)
Deletes the specified directory dir on the remote system. |
void |
DefaultFTPClient.deleteDirectory(RemoteFile dir)
|
void |
FTPClient.deleteFile(RemoteFile file)
Deletes the specified file, file from the remote system. |
void |
DefaultFTPClient.deleteFile(RemoteFile file)
|
void |
FTPClient.download(RemoteFile source,
File destination,
int type,
boolean append)
Copies the contents of the source to the local file
destination . |
void |
DefaultFTPClient.download(RemoteFile source,
File destination,
int type,
boolean append)
|
RemoteFile[] |
FTPClient.list(RemoteFile dir)
Returns the direct children of the specified directory. |
RemoteFile[] |
DefaultFTPClient.list(RemoteFile dir)
|
RemoteFile[] |
DataConnection.list(RemoteFile dir)
Parses the data received over this data connection to an array of RemoteFile objects. |
RemoteFile[] |
FTPClient.list(RemoteFile dir,
Filter filter)
Returns the direct children of the specified directory. |
RemoteFile[] |
DefaultFTPClient.list(RemoteFile dir,
Filter filter)
|
RemoteFile[] |
ListParser.parse(RemoteFile parent,
BufferedReader reader)
Parses the directory listing returned by an FTP server into an array of RemoteFile objects. |
RemoteFile[] |
DosListParser.parse(RemoteFile parent,
BufferedReader reader)
|
RemoteFile[] |
DefaultListParser.parse(RemoteFile parent,
BufferedReader reader)
|
RemoteFile |
ListParser.parse(RemoteFile parent,
String rawData)
Parses a line of output in to a RemoteFile object. |
RemoteFile |
DosListParser.parse(RemoteFile parent,
String rawData)
|
RemoteFile |
DefaultListParser.parse(RemoteFile parent,
String line)
|
void |
FTPClient.rename(RemoteFile from,
RemoteFile to)
Renames a file or directory, from to to . |
void |
DefaultFTPClient.rename(RemoteFile from,
RemoteFile to)
|
RemoteFile |
FTPClient.setWorkingDirectory(RemoteFile dir)
Sets the remote working directory to the specified directory dir . |
RemoteFile |
DefaultFTPClient.setWorkingDirectory(RemoteFile dir)
|
void |
FTPClient.upload(File source,
RemoteFile destination,
int type,
boolean append,
long skip)
copies the contents of local file source to the specified
remote file destination . |
void |
DefaultFTPClient.upload(File source,
RemoteFile destination,
int type,
boolean append,
long skip)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |