Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B C D E F G H I L M N O P R S T U V W

A

ABORT - Static variable in class org.finj.FTPCommand
This command tells the server to abort the previous FTP service command and any associated transfer of data.
ACCOUNT - Static variable in class org.finj.FTPCommand
The argument field is a Telnet string identifying the user's account.
ALLOCATE - Static variable in class org.finj.FTPCommand
This command may be required by some servers to reserve sufficient storage to accommodate the new file to be transferred.
APPEND_WITH_CREATE - Static variable in class org.finj.FTPCommand
This command causes the server-DTP to accept the data transferred via the data connection and to store the data in a file at the server site.
ASCII_DATA_TYPE - Static variable in class org.finj.FTPClient
Default transfer type, intended primarily for the transfer of text files except when both hosts would find EBCDIC more convenient.
ASCII_DATA_TYPE - Static variable in class org.finj.FTPConstants
Default transfer type, intended primarily for the transfer of text files except when both hosts would find EBCDIC more convenient.
abortCommand() - Method in class org.finj.FTPClient
This command tells the server to abort the previous FTP service command and any associated transfer of data.
allocateSpace(int) - Method in class org.finj.FTPClient
This command may be required by some servers to reserve sufficient storage to accomodate the new file to be transferred.
allocateSpace(int, int) - Method in class org.finj.FTPClient
This command works just as allocateSpace (int), except that it allows to set a second (optional) parameter that may be required for files sent with record or page structure : a maximum record or page size.
appendToFile(InputStream, String) - Method in class org.finj.FTPClient
This command causes the server-DTP to accept the data transferred and to store the data in a file at the server site.
argument - Variable in class org.finj.FTPCommand
 
ascii() - Method in class org.finj.FTPClient
Deprecated. use FTPClient.setDataType (FTPClient.ASCII_DATA_TYPE) instead. THIS METHOD WILL NOT BE CONTINUED.

B

BAD_COMMAND_SEQUENCE_CODE - Static variable in class org.finj.FTPReply
Bad sequence of commands.
BAD_COMMAND_SEQUENCE_CODE - Static variable in class org.finj.FTPResponse
Bad sequence of commands.
BLOCK_DATA_TRANSMISSION_MODE - Static variable in class org.finj.FTPClient
The file is transmitted as a series of data blocks preceded by one or more header bytes.
BLOCK_DATA_TRANSMISSION_MODE - Static variable in class org.finj.FTPConstants
The file is transmitted as a series of data blocks preceded by one or more header bytes.
binary() - Method in class org.finj.FTPClient
Deprecated. use FTPClient.setDataType (FTPClient.IMAGE_DATA_TYPE) instead. THIS METHOD WILL NOT BE CONTINUED.
broadcastCommand(String) - Method in class org.finj.FTPClient
Broadcasts the command sent to the server to the current observer, if any.
broadcastReply(FTPReply) - Method in class org.finj.FTPClient
Broadcasts the reply received from the server to the current observer, if any.

C

CAN_T_OPEN_DATA_CONNECTION_CODE - Static variable in class org.finj.FTPReply
Can't open data connection.
CAN_T_OPEN_DATA_CONNECTION_CODE - Static variable in class org.finj.FTPResponse
Can't open data connection.
CHANGE_TO_PARENT_DIRECTORY - Static variable in class org.finj.FTPCommand
This command is a special cas of CHANGE_WORKING_DIRECTORY, and is included to simplify the implementation of programs for transferring directory trees between operating systems having different syntaxes for naming the parent directory.
CHANGE_WORKING_DIRECTORY - Static variable in class org.finj.FTPCommand
This command allows the user to work with a different directory or dataset for file storage or retrieval without altering his login or accounting information.
COMMANDS - Static variable in class org.finj.FTPCommand
The list of allowed commands.
COMMAND_NOT_IMPLEMENTED_CODE - Static variable in class org.finj.FTPReply
Command not implemented.
COMMAND_NOT_IMPLEMENTED_CODE - Static variable in class org.finj.FTPResponse
Command not implemented.
COMMAND_NOT_IMPLEMENTED_FOR_THAT_PARAMETER_CODE - Static variable in class org.finj.FTPReply
Command not implemented for that parameter.
COMMAND_NOT_IMPLEMENTED_FOR_THAT_PARAMETER_CODE - Static variable in class org.finj.FTPResponse
Command not implemented for that parameter.
COMPRESSED_DATA_TRANSMISSION_MODE - Static variable in class org.finj.FTPClient
There are three kinds of information to be sent : regular data, sent in a byte string; compressed data, consisting of replications or filler; and control information, sent in a two-byte escape sequence.
COMPRESSED_DATA_TRANSMISSION_MODE - Static variable in class org.finj.FTPConstants
There are three kinds of information to be sent : regular data, sent in a byte string; compressed data, consisting of replications or filler; and control information, sent in a two-byte escape sequence.
CONTROL_CONNECTION_CLOSED_CODE - Static variable in class org.finj.FTPReply
Service closing control connection.
CONTROL_CONNECTION_CLOSED_CODE - Static variable in class org.finj.FTPResponse
Service closing control connection.
CONTROL_CONNECTION_OPENED_CODE - Static variable in class org.finj.FTPReply
Service ready for new user.
CONTROL_CONNECTION_OPENED_CODE - Static variable in class org.finj.FTPResponse
Service ready for new user.
canRead() - Method in interface org.finj.RemoteFile
Returns true if file can be read.
cd(String) - Method in class org.finj.FTPClient
Deprecated. use FTPClient.setWorkingDirectory (String) instead. THIS METHOD WILL NOT BE CONTINUED.
checkConnection() - Method in class org.finj.FTPClient
This command does not affect any parameters or previously entered commands.
close() - Method in class org.finj.FTPClient
This method terminates a user and if file transfer is not in progress, the server closes the control connection.
close() - Method in class org.finj.FTPSocket
Closes the wrapped socket.
closeServer() - Method in class org.finj.FTPClient
Deprecated. use FTPClient.close () instead. THIS METHOD WILL NOT BE CONTINUED.
closesMultilineResponse(String, int) - Static method in class org.finj.FTPResponse
Tests a line of a response to know if it closes a multiline answer.
code - Variable in class org.finj.FTPCommand
 
code - Variable in class org.finj.FTPException
One of the org.finj.FTPReply error codes.
code - Variable in class org.finj.FTPReply
 
code - Variable in class org.finj.FTPResponse
 
commandSent(String) - Method in class org.finj.FTPClientAdapter
Method called when a command has been sent to the FTP server.
commandSent(String) - Method in interface org.finj.FTPClientObserver
Method called when a command has been sent to the FTP server.
connected - Variable in class org.finj.FTPClient
 
controlConnectionClosed() - Method in class org.finj.FTPClientAdapter
Method called whenever a new connection is closed with a server.
controlConnectionClosed() - Method in interface org.finj.FTPClientObserver
Method called whenever a new connection is closed with a server.
controlConnectionOpened() - Method in class org.finj.FTPClientAdapter
Method called whenever a new connection is opened with a server.
controlConnectionOpened() - Method in interface org.finj.FTPClientObserver
Method called whenever a new connection is opened with a server.
control_port - Variable in class org.finj.FTPClient
 
createParser() - Static method in class org.finj.FTPServerParserFactory
Creates and returns the right parser for the kind of data to parse.
ctrlIn - Variable in class org.finj.FTPClient
 
ctrlOut - Variable in class org.finj.FTPClient
 

D

DATA_CONNECTION_ABORTED_CODE - Static variable in class org.finj.FTPReply
Connection closed; transfer aborted.
DATA_CONNECTION_ABORTED_CODE - Static variable in class org.finj.FTPResponse
Connection closed; transfer aborted.
DATA_CONNECTION_ABOUT_TO_BE_OPENED_CODE - Static variable in class org.finj.FTPReply
File status okay; about to open data connection.
DATA_CONNECTION_ABOUT_TO_BE_OPENED_CODE - Static variable in class org.finj.FTPResponse
File status okay; about to open data connection.
DATA_CONNECTION_ALREADY_OPENED_CODE - Static variable in class org.finj.FTPReply
Data Connection already open; transfer starting.
DATA_CONNECTION_ALREADY_OPENED_CODE - Static variable in class org.finj.FTPResponse
Data Connection already open; transfer starting.
DATA_CONNECTION_CLOSED_CODE - Static variable in class org.finj.FTPReply
Closing data connection.
DATA_CONNECTION_CLOSED_CODE - Static variable in class org.finj.FTPResponse
Closing data connection.
DATA_CONNECTION_OPENED_CODE - Static variable in class org.finj.FTPReply
Data connection open; no transfer in progress.
DATA_CONNECTION_OPENED_CODE - Static variable in class org.finj.FTPResponse
Data connection open; no transfer in progress.
DATA_PORT - Static variable in class org.finj.FTPCommand
The argument is a host-port specification for the data port to be userd in data connection.
DEFAULT_FTP_PORT - Static variable in class org.finj.FTPClient
Default FTP port value is '21'.
DEFAULT_FTP_PORT - Static variable in class org.finj.FTPConstants
Default FTP port value is '21'.
DEFAULT_LOCALE - Static variable in class org.finj.FTPClient
Default Locale used when none is provided at construction time.
DEFAULT_LOCALE - Static variable in class org.finj.FTPConstants
Default Locale used when none is provided at construction time.
DEFAULT_MESSAGE_NAME - Static variable in class org.finj.FTPCommand
 
DEFAULT_MESSAGE_NAME - Static variable in class org.finj.FTPReply
 
DEFAULT_MESSAGE_NAME - Static variable in class org.finj.FTPResponse
 
DELETE_FILE - Static variable in class org.finj.FTPCommand
This command causes the file specified in the pathname to be deleted at the server site.
DIRECTORY_STATUS_CODE - Static variable in class org.finj.FTPReply
Directory status
DIRECTORY_STATUS_CODE - Static variable in class org.finj.FTPResponse
Directory status
DOSFTPServerParser - class org.finj.DOSFTPServerParser.
 
DOSFTPServerParser() - Constructor for class org.finj.DOSFTPServerParser
 
DOWNLOAD_TRANSFER - Static variable in class org.finj.FTPClient
constant used to differentiate between upload traffic and download traffic
dataHost - Variable in class org.finj.FTPClient
 
dataIn - Variable in class org.finj.FTPClient
 
dataMode - Variable in class org.finj.FTPClient
 
dataOut - Variable in class org.finj.FTPClient
 
dataPort - Variable in class org.finj.FTPClient
 
dataReceived(int) - Method in class org.finj.FTPClient
Broadcasts the amount of data received from the server to the observer, if any.
dataReceived(int) - Method in class org.finj.FTPClientAdapter
Method called whenever data is received from the FTP server.
dataReceived(int) - Method in interface org.finj.FTPClientObserver
Method called whenever data is received from the FTP server.
dataSent(int) - Method in class org.finj.FTPClient
Broadcasts the amount of data received from the server to the observer, if any.
dataSent(int) - Method in class org.finj.FTPClientAdapter
Method called whenever data is sent to the FTP server.
dataSent(int) - Method in interface org.finj.FTPClientObserver
Method called whenever data is sent to the FTP server.
dataStructure - Variable in class org.finj.FTPClient
 
dataType - Variable in class org.finj.FTPClient
 
dataTypeLength - Variable in class org.finj.FTPClient
 
deleteFile(String) - Method in class org.finj.FTPClient
This command causes the file specified as the pathname parameter to be deleted at the server site.
doPASSCommand(String) - Method in class org.finj.FTPClient
Utility routine that takes care to send password information to the server and treat it's answer.
doRNFRCommand(String) - Method in class org.finj.FTPClient
Utility routine that takes care to send current name information to the server and treat it's answer in order to rename it.
doRNTOCommand(String) - Method in class org.finj.FTPClient
Utility routine that takes care to send new name information to the server and treat it's answer in order to rename a file.
doSite(String) - Method in class org.finj.FTPClient
This command is used by the server to provide services specific to his system that are essential to file transfer but not sufficiently universal to be included as commands in the protocol.
doUSERCommand(String) - Method in class org.finj.FTPClient
Utility routine that takes care to send user information to the server and treat it's answer.
downloadData(InputStream, OutputStream) - Method in class org.finj.FTPClient
Transfers all data coming from server to the local host in a format that corresponds to the one set with setDataType(int).

E

EBCDIC_DATA_TYPE - Static variable in class org.finj.FTPClient
Intended for efficient transfer between hosts which use EBCDIC for their internal character representation.
EBCDIC_DATA_TYPE - Static variable in class org.finj.FTPConstants
Intended for efficient transfer between hosts which use EBCDIC for their internal character representation.
ENTERING_PASSIVE_MODE_CODE - Static variable in class org.finj.FTPReply
Entering Passive Mode (h1,h2,h3,h4,p1,p2).
ENTERING_PASSIVE_MODE_CODE - Static variable in class org.finj.FTPResponse
Entering Passive Mode (h1,h2,h3,h4,p1,p2).
EXCEEDED_STORAGE_ALLOCATION_CODE - Static variable in class org.finj.FTPReply
Requested file action aborted.
EXCEEDED_STORAGE_ALLOCATION_CODE - Static variable in class org.finj.FTPResponse
Requested file action aborted.

F

FILE_DATA_STRUCTURE - Static variable in class org.finj.FTPClient
Default structure assumed if the setTransferStructure has not been used.
FILE_DATA_STRUCTURE - Static variable in class org.finj.FTPConstants
Default structure assumed if the setTransferStructure has not been used.
FILE_STATUS_CODE - Static variable in class org.finj.FTPReply
File status.
FILE_STATUS_CODE - Static variable in class org.finj.FTPResponse
File status.
FILE_STRUCTURE - Static variable in class org.finj.FTPCommand
The argument is a single Telnet character code specifying file structure described in the section on Data Representation and Storage of RFC959.
FINE_NAME_NOT_ALLOWED_CODE - Static variable in class org.finj.FTPReply
Requested action not taken.
FINE_NAME_NOT_ALLOWED_CODE - Static variable in class org.finj.FTPResponse
Requested action not taken.
FTPClient - class org.finj.FTPClient.
FIXME : mention default values.
FTPClient() - Constructor for class org.finj.FTPClient
Constructs a new instance of this class.
FTPClient(Locale) - Constructor for class org.finj.FTPClient
Constructs a new instance of this class using the provided Locale for internationalization of FTPReplys...
FTPClient(String) - Constructor for class org.finj.FTPClient
Constructs a new instance of this class that will try to connect to the server through the DEFAULT_FTP_PORT.
FTPClient(String, Locale) - Constructor for class org.finj.FTPClient
Constructs a new instance of this class that will try to connect to the server through the DEFAULT_FTP_PORT.
FTPClient(String, int) - Constructor for class org.finj.FTPClient
Constructs a new instance of this class that will try to connect to the server througn the provided port.
FTPClient(String, int, Locale) - Constructor for class org.finj.FTPClient
Constructs a new instance of this class that will try to connect to the server througn the provided port.
FTPClient(String, String, String) - Constructor for class org.finj.FTPClient
Constructs a new instance of this class that will try to connect to the server through the DEFAULT_FTP_PORT, and try to log in using user and pass login information.
FTPClient(String, String, String, Locale) - Constructor for class org.finj.FTPClient
Constructs a new instance of this class that will try to connect to the server through the DEFAULT_FTP_PORT, and try to log in using user and pass login information.
FTPClient(String, int, String, String) - Constructor for class org.finj.FTPClient
Constructs a new instance of this class that will try to connect to the server through the provided port, and try to log in using user and pass login information.
FTPClient(String, int, String, String, Locale) - Constructor for class org.finj.FTPClient
Constructs a new instance of this class that will try to connect to the server through the provided port, and try to log in using user and pass login information.
FTPClientAdapter - class org.finj.FTPClientAdapter.
An adapter class for receiving FTPClient observations.
FTPClientAdapter() - Constructor for class org.finj.FTPClientAdapter
Constructs a new instance of this class.
FTPClientObserver - interface org.finj.FTPClientObserver.
Instances of this observer receive notifications of the progress of the work of an FTPClient to which they have to be registered.
FTPCommand - class org.finj.FTPCommand.
This class contains constants and methods that simplify handling and internationalization of FTP client commands.
FTPCommand() - Constructor for class org.finj.FTPCommand
Defeat parameterless constructor.
FTPCommand(int) - Constructor for class org.finj.FTPCommand
Constructs a new instance of this class that represents the code passed as parameter.
FTPCommand(int, Locale) - Constructor for class org.finj.FTPCommand
Constructs a new instance of this class that represents the code passed as parameter that will use the provided locale for messages.
FTPCommand(int, String) - Constructor for class org.finj.FTPCommand
Constructs a new instance of this class that represents the code passed as parameter, with the specified argument string.
FTPCommand(int, String, Locale) - Constructor for class org.finj.FTPCommand
Constructs a new instance of this class that represents the code passed as parameter, with the specified argument string that will use the provided locale for messages.
FTPConstants - class org.finj.FTPConstants.
Class that gathers project wide constants.
FTPConstants() - Constructor for class org.finj.FTPConstants
Useless, parameterless constructor.
FTPException - exception org.finj.FTPException.
Exceptions thrown by an instance of org.finj.FTPClient built around a org.finj.FTPReply, when the server refuses the actipon the org.finj.FTPClient was supposed to perform.
FTPException() - Constructor for class org.finj.FTPException
Defeat parameterless constructor
FTPException(Object, int, String) - Constructor for class org.finj.FTPException
Constructs a new instance of this class that will carry the org.finj.FTPReply code and the original message received from the FTP server.
FTPReply - class org.finj.FTPReply.
This class contains constants and methods that simplify handling and internationalization of FTP server replies.
FTPReply() - Constructor for class org.finj.FTPReply
Defeat parameterless constructor.
FTPReply(String) - Constructor for class org.finj.FTPReply
Constructs a new instance of this class that will use Locale.US as default locale.
FTPReply(String, Locale) - Constructor for class org.finj.FTPReply
Constructs a new instance of this class that will use locale as message language.
FTPResponse - class org.finj.FTPResponse.
This class contains constants and methods that simplify handling and internationalization of FTP server replies.
FTPResponse() - Constructor for class org.finj.FTPResponse
Defeat parameterless constructor.
FTPResponse(String) - Constructor for class org.finj.FTPResponse
Constructs a new instance of this class that will use FTPConstants.DEFAULT_LOCALE as default locale.
FTPResponse(String, String[]) - Constructor for class org.finj.FTPResponse
Constructs a new instance of this class that will use FTPConstants.DEFAULT_LOCALE as default locale, and will store a multiline answer.
FTPResponse(String, Locale) - Constructor for class org.finj.FTPResponse
Constructs a new instance of this class that will use locale as message language.
FTPResponse(String, String[], Locale) - Constructor for class org.finj.FTPResponse
Constructs a new instance of this class that will use locale as message language.
FTPResponse(int, String, String[], Locale) - Constructor for class org.finj.FTPResponse
Initializes the current instance with the info provided.
FTPServerParser - interface org.finj.FTPServerParser.
Defines the set of methods that a parser has to implement in order to be circonvain to plateform specific information.
FTPServerParserFactory - class org.finj.FTPServerParserFactory.
A factory class which aims at constructing the right parser for the data to parse, according to the kind of OS on which the FTP server is running.
FTPServerParserFactory() - Constructor for class org.finj.FTPServerParserFactory
 
FTPServerProfile - interface org.finj.FTPServerProfile.
The goal of this interface is to leave the possibility to handle servers that do not comply with the RFC959 strictly.
FTPSocket - class org.finj.FTPSocket.
This class wraps java.net.Socket and java.net.ServerSocket behind a common (limited) interface that mimics theirs.
FTPSocket(Socket) - Constructor for class org.finj.FTPSocket
Constructs a new instance of this class that will wrap the socket.
FTPSocket(ServerSocket) - Constructor for class org.finj.FTPSocket
Constructs a new instance of this class that will wrap the socket.

G

get(String) - Method in class org.finj.FTPClient
Deprecated. use FTPClient.getFile (String) instead. THIS METHOD WILL NOT BE CONTINUED.
getCode() - Method in class org.finj.FTPCommand
Returns the FTP code of this command.
getCode() - Method in class org.finj.FTPException
Returns the org.finj.FTPReply code produced by the FTP server that triggered this Exception.
getCode() - Method in class org.finj.FTPReply
Returns the FTP code of this reply.
getCode() - Method in class org.finj.FTPResponse
Returns the FTP code of this response.
getCodeFromMessage(String) - Static method in class org.finj.FTPReply
Returns the code contained in the reply passed as parameter.
getCommandToExecute() - Method in class org.finj.FTPCommand
Returns the FTP code that has to be printed to the control connection for the server to understand the request.
getDataInputStream(ServerSocket) - Method in class org.finj.FTPClient
Performs the second half of data connection establishment : a Socket is ready on local host, the server is knocking at that door.
getDataOutputStream(ServerSocket) - Method in class org.finj.FTPClient
Performs the second half of data connection establishment : a Socket is ready on local host, the server is knocking at that door.
getDataPort() - Method in class org.finj.FTPClient
Returns the HOST-PORT used for the data connection.
getDataStructure() - Method in class org.finj.FTPClient
Returns the current data structure manipulated, that is one of FTPClient.FILE_DATA_STRUCTURE (default value), FTPClient.RECORD_DATA_STRUCTURE, FTPClient.PAGE_DATA_STRUCTURE.
getDataTransferMode() - Method in class org.finj.FTPClient
Returns the data transmission mode currently used, that is one of FTPClient.STREAM_DATA_TRANSMISSION_MODE (default value), FTPClient.BLOCK_DATA_TRANSMISSION_MODE, FTPClient.COMPRESSED_DATA_TRANSMISSION_MODE.
getDataType() - Method in class org.finj.FTPClient
Returns the current data type manipulated, that is one of FTPClient.ASCII_DATA_TYPE (default value), FTPClient.EBCDIC_DATA_TYPE, FTPClient.IMAGE_DATA_TYPE, FTPClient.LOCAL_DATA_TYPE.
getFile(OutputStream, String) - Method in class org.finj.FTPClient
This command causes the server-DTP to transfer a copy of the file, specified in the pathname, to this client.
getFileDescriptors() - Method in class org.finj.FTPClient
Returns the complete description of the files in the current working directory.
getFileDescriptors(String) - Method in class org.finj.FTPClient
Returns the complete description of the files in the directory specified by the path argument.
getFileFrom(OutputStream, String, int) - Method in class org.finj.FTPClient
The position argument field represents the server marker at which file transfer is to be restarted.
getFileNames() - Method in class org.finj.FTPClient
Returns a directory listing for the current working directory.
getFileNames(String) - Method in class org.finj.FTPClient
Returns a directory listing for the path provided as parameter.
getInetAddress() - Method in class org.finj.FTPSocket
Returns the value of the wrapped socket's address field.
getInputStream() - Method in class org.finj.FTPSocket
Returns an input stream for the wrapped socket.
getLocalPort() - Method in class org.finj.FTPSocket
Returns the value of this socket's localport field.
getMessage() - Method in class org.finj.FTPCommand
Returns a localized version of the message corresponding to the original one's code.
getMessage() - Method in class org.finj.FTPException
Returns the original message produced by the FTP server that triggered this Exception.
getMessage() - Method in class org.finj.FTPReply
Returns a localized version of the message corresponding to the original one's code.
getMessage() - Method in class org.finj.FTPResponse
Returns a localized version of the message corresponding to the original one's code.
getMessageFromCode(int) - Method in class org.finj.FTPCommand
Returns the message that corresponds to the code given as parameter.
getMessageFromCode(int) - Method in class org.finj.FTPReply
Returns the message that corresponds to the code given as parameter.
getMessageFromCode(int) - Method in class org.finj.FTPResponse
Returns the message that corresponds to the code given as parameter.
getMultilineText() - Method in class org.finj.FTPResponse
Returns the multiline answer received with this response.
getName() - Method in interface org.finj.RemoteFile
Returns the name of the file.
getObserver() - Method in class org.finj.FTPClient
Returns the current observer of this instance.
getOriginalMessage() - Method in class org.finj.FTPReply
Returns the original message received from the FTP server and passed at construction time.
getOriginalMessage() - Method in class org.finj.FTPResponse
Returns the original message received from the FTP server and passed at construction time.
getOutputStream() - Method in class org.finj.FTPSocket
Returns an output stream for the wrapped socket.
getParent() - Method in interface org.finj.RemoteFile
Returns parent path if it exists, null if not.
getPath() - Method in interface org.finj.RemoteFile
Returns path to this file on the distant computer.
getServerStatus() - Method in class org.finj.FTPClient
Returns the status response from the server.
getServerStatus(String) - Method in class org.finj.FTPClient
Returns the status response from the server.
getServerSystemName() - Method in class org.finj.FTPClient
Returns the type of operating system at the server, one of the system names listed in the current version of the 'Assigned Numbers Document' (as of 31-jul-00 : RFC1700).
getSource() - Method in class org.finj.FTPException
Returns the Object that throwed this Exception.
getWorkingDirectory() - Method in class org.finj.FTPClient
This command causes the name of the current working directory to be returned.

H

HELP - Static variable in class org.finj.FTPCommand
This command shall cause the server to send helpful information regarding its implementation status over the control connection to the user.
HELP_MESSAGE_CODE - Static variable in class org.finj.FTPReply
Help message.
HELP_MESSAGE_CODE - Static variable in class org.finj.FTPResponse
Help message.
hasObserver() - Method in class org.finj.FTPClient
Tells if this instance is currently being observed.

I

IMAGE_DATA_TYPE - Static variable in class org.finj.FTPClient
Data are sent as contiguous bits which, for transfer, are packed into the 8-bit transfer bytes.
IMAGE_DATA_TYPE - Static variable in class org.finj.FTPConstants
Data are sent as contiguous bits which, for transfer, are packed into the 8-bit transfer bytes.
isCommandCompleted(FTPCommand, FTPResponse) - Method in interface org.finj.FTPServerProfile
Checks if the response is the last that one has to expect for the command.
isConnected() - Method in class org.finj.FTPClient
Returns true if a control connection is currently opened between this client and a FTP server, false else.
isConnected(boolean) - Method in class org.finj.FTPClient
Sets the current status of the control connection to the value provided as parameter.
isControlConnectionReady(FTPResponse) - Method in interface org.finj.FTPServerProfile
Checks if the response is the last that one has to expect after establishing the control connection with a server.
isDirectory() - Method in interface org.finj.RemoteFile
Returns true if path points to a directory, false else.
isFile() - Method in interface org.finj.RemoteFile
Returns true if path points to a file, false else.
isHidden() - Method in interface org.finj.RemoteFile
Tests whether the file named by this abstract pathname is a hidden file.
isMultiline() - Method in class org.finj.FTPReply
Returns true if this reply anounces a multi line reply, e.g., STAT command.
isMultiline() - Method in class org.finj.FTPResponse
Returns true if this response anounces a multi line response, e.g., STAT command.
isObserving(boolean) - Method in class org.finj.FTPClientAdapter
Method called by an FTPClient when this is added or removed as an observer.
isObserving(boolean) - Method in interface org.finj.FTPClientObserver
Method called by an FTPClient when this is added or removed as an observer.
isPostCommandCompleted(FTPCommand, FTPResponse) - Method in interface org.finj.FTPServerProfile
Checks if the response is the last that one has to expect to end a command that required a data connection setup and destruction.
isServerSocket() - Method in class org.finj.FTPSocket
Returns info on the kind of socket wrapped.
isSocket() - Method in class org.finj.FTPSocket
Returns info on the kind of socket wrapped.

L

LIST - Static variable in class org.finj.FTPCommand
This command causes a list to be sent from the server to the passive DTP.
LOCAL_DATA_TYPE - Static variable in class org.finj.FTPClient
Data is transferred in logical bytes of the size specified by the obligatory sceond parameter, Byte size.
LOCAL_DATA_TYPE - Static variable in class org.finj.FTPConstants
Data is transferred in logical bytes of the size specified by the obligatory sceond parameter, Byte size.
LOGOUT - Static variable in class org.finj.FTPCommand
This command terminates a USER_NAME and if file transfer is not in progress, the server closes the control connection.
lastModified() - Method in interface org.finj.RemoteFile
Returns time of last modification as a long value.
locale - Variable in class org.finj.FTPClient
 
locale - Variable in class org.finj.FTPCommand
 
localhost - Variable in class org.finj.FTPClient
 
login(String, String) - Method in class org.finj.FTPClient
Log to the current server using the provided login information.
logout() - Method in class org.finj.FTPClient
This method terminates a user, flushing all I/O and account information, except to allow any transfer in progress to be completed.

M

MAKE_DIRECTORY - Static variable in class org.finj.FTPCommand
This command causes the directory specified in the pathname to be created as a directory (if the pathname is absolute) or as a subdirectory of the current working directory (if the pathname is relative).
MESSAGE_BUNDLE_NAME - Static variable in class org.finj.FTPCommand
 
MESSAGE_BUNDLE_NAME - Static variable in class org.finj.FTPReply
 
MESSAGE_BUNDLE_NAME - Static variable in class org.finj.FTPResponse
 
MESSAGE_NAME_PREFIX - Static variable in class org.finj.FTPCommand
 
MESSAGE_NAME_PREFIX - Static variable in class org.finj.FTPReply
 
MESSAGE_NAME_PREFIX - Static variable in class org.finj.FTPResponse
 
makeDirectory(String) - Method in class org.finj.FTPClient
This command causes the directory specified in the pathname to be created as a directory (if the pathname is absolute) or as a subdirectory of the current working directory (if the pathname is relative).
message - Variable in class org.finj.FTPException
Original reply from the FTP server that trigered this Exception.
mountStructure(String) - Method in class org.finj.FTPClient
This command allows the user to mount a different file system data structure without altering his login or accounting information.
multi - Variable in class org.finj.FTPReply
 
multi - Variable in class org.finj.FTPResponse
 

N

NAME_LIST - Static variable in class org.finj.FTPCommand
This command causes a directory listing to be sent from server to user site.
NEED_ACCOUNT_FOR_LOGIN_CODE - Static variable in class org.finj.FTPReply
Need account for login.
NEED_ACCOUNT_FOR_LOGIN_CODE - Static variable in class org.finj.FTPResponse
Need account for login.
NEED_ACCOUNT_FOR_STORING_FILES_CODE - Static variable in class org.finj.FTPReply
Need account for storing files.
NEED_ACCOUNT_FOR_STORING_FILES_CODE - Static variable in class org.finj.FTPResponse
Need account for storing files.
NOT_A_REAL_COMMAND - Static variable in class org.finj.FTPCommand
No command will ever (as RFC959 is concerned...) match this command ! Used for comparisions purposes.
NOT_A_REAL_RESPONSE_CODE - Static variable in class org.finj.FTPResponse
No response will ever (as RFC959 is concerned...) match this code ! Used for comparisions purposes.
NOT_LOGGED_IN_CODE - Static variable in class org.finj.FTPReply
Not logged in.
NOT_LOGGED_IN_CODE - Static variable in class org.finj.FTPResponse
Not logged in.
NO_OPERATION - Static variable in class org.finj.FTPCommand
This command does not affect any parameters or previously entered commands.
notValidReplyCodeMessage(int, String) - Method in class org.finj.FTPClient
Utility routine that composes the message used for FTPExceptions.

O

observer - Variable in class org.finj.FTPClient
 
open(String) - Method in class org.finj.FTPClient
Connects to the server through the DEFAULT_FTP_PORT.
open(String, int) - Method in class org.finj.FTPClient
Connects to the server through the provided port.
openServer(String) - Method in class org.finj.FTPClient
Deprecated. use FTPClient.open (String) instead. THIS METHOD WILL NOT BE CONTINUED.
openServer(String, int) - Method in class org.finj.FTPClient
Deprecated. use FTPClient.open (String, int) instead. THIS METHOD WILL NOT BE CONTINUED.
opensMultilineResponse(String) - Static method in class org.finj.FTPResponse
Tests the first line of a response to know if it opens a multiline answer.
org.finj - package org.finj
 

P

PAGE_DATA_STRUCTURE - Static variable in class org.finj.FTPClient
To transmit files that are discontinuous, FTP defines a page structure.
PAGE_DATA_STRUCTURE - Static variable in class org.finj.FTPConstants
To transmit files that are discontinuous, FTP defines a page structure.
PAGE_TYPE_UNKNOWN_CODE - Static variable in class org.finj.FTPReply
Requested action aborted: page type unknown.
PAGE_TYPE_UNKNOWN_CODE - Static variable in class org.finj.FTPResponse
Requested action aborted: page type unknown.
PASSIVE - Static variable in class org.finj.FTPCommand
This command requests the server-DTP to "listen" on a data port (which is not its default data port) and to wait for a connection rather that initiate one upon receipt of a transfer command.
PASSWORD - Static variable in class org.finj.FTPCommand
The argument field is a Telnet string specifying the user's password.
PATHNAME_CREATED_CODE - Static variable in class org.finj.FTPReply
"PATHNAME" created.
PATHNAME_CREATED_CODE - Static variable in class org.finj.FTPResponse
"PATHNAME" created.
PERMANENTLY_UNAVAILABLE_FILE_CODE - Static variable in class org.finj.FTPReply
Requested action not taken.
PERMANENTLY_UNAVAILABLE_FILE_CODE - Static variable in class org.finj.FTPResponse
Requested action not taken.
PERMANENT_NEGATIVE_COMPLETION_REPLY_CODE - Static variable in class org.finj.FTPReply
Syntax error, command unrecognized.
PERMANENT_NEGATIVE_COMPLETION_RESPONSE_CODE - Static variable in class org.finj.FTPResponse
Syntax error, command unrecognized.
POSITIVE_COMPLETION_REPLY_CODE - Static variable in class org.finj.FTPReply
Command okay.
POSITIVE_COMPLETION_RESPONSE_CODE - Static variable in class org.finj.FTPResponse
Command okay.
PRINT_WORKING_DIRECTORY - Static variable in class org.finj.FTPCommand
This command causes the name of the current directory to be returned in the response.
parseCode(String) - Static method in class org.finj.FTPResponse
Returns the code contained in the response passed as parameter.
parseOriginalMessage(String) - Static method in class org.finj.FTPResponse
Returns the message contained in the response passed as parameter.
parseServerPassivePort() - Method in class org.finj.FTPResponse
Returns the host passive port parsed from the original text of response.
parseWorkingDirectory() - Method in class org.finj.FTPResponse
This command causes the name of the current working directory to be returned.
prepareDataConnection(int) - Method in class org.finj.FTPClient
Performs the first half of data connection establishment : Opens a new ServerSocket on the local host and tells the FTP Server on which port to connect.
prepareDataConnection(short) - Method in class org.finj.FTPClient
Performs the first half of data connection establishment : Opens a new ServerSocket on the local host and tells the FTP Server on which port to connect.
put(String) - Method in class org.finj.FTPClient
Deprecated. use FTPClient.putFile (InputStream, String) instead. THIS METHOD WILL NOT BE CONTINUED.
putFile(InputStream, String) - Method in class org.finj.FTPClient
This command causes the server-DTP to accept the data transferred and to store the data as a file at the server site.
putUniqueFile(InputStream) - Method in class org.finj.FTPClient
This command behaves like putFile (InputStream, String) except that the resultant file is to be created in the current directory nder a name unique to that directory.

R

RECORD_DATA_STRUCTURE - Static variable in class org.finj.FTPClient
Record structures must be accepted for "text" files (i.e., files with ASCII or EBCDIC types) by all FTP implementations.
RECORD_DATA_STRUCTURE - Static variable in class org.finj.FTPConstants
Record structures must be accepted for "text" files (i.e., files with ASCII or EBCDIC types) by all FTP implementations.
REINITIALIZE - Static variable in class org.finj.FTPCommand
This command terminates a USER_NAME, flushing all I/O and account information, except to allow any transfer in progress to be completed.
REMOVE_DIRECTORY - Static variable in class org.finj.FTPCommand
This command causes the directory specified in the pathname to be removed as a directory (if the pathname is absolute) or as a subdirectory of the current working directory (if the pathname is relative).
RENAME_FROM - Static variable in class org.finj.FTPCommand
This command specifies the old pathname of the file which is to be renamed.
RENAME_TO - Static variable in class org.finj.FTPCommand
This command specifies the name pathname of teh file specified in the immediately preceding RENAME_FROM.
REPRESENTATION_TYPE - Static variable in class org.finj.FTPCommand
The argument specifies the representation type as described in the section on Data Representation and Storage of RFC959.
REQUESTED_FILE_ACTION_OK_CODE - Static variable in class org.finj.FTPReply
Requested file action okay, completed.
REQUESTED_FILE_ACTION_OK_CODE - Static variable in class org.finj.FTPResponse
Requested file action okay, completed.
REQUESTED_FILE_ACTION_PENDING_CODE - Static variable in class org.finj.FTPReply
Requested file action pending further information.
REQUESTED_FILE_ACTION_PENDING_CODE - Static variable in class org.finj.FTPResponse
Requested file action pending further information.
RESTART - Static variable in class org.finj.FTPCommand
The argument field represents the server marker at which file transfer is to be restarted.
RESTART_MARKER_REPLY_CODE - Static variable in class org.finj.FTPReply
Restart marker reply.
RESTART_MARKER_RESPONSE_CODE - Static variable in class org.finj.FTPResponse
Restart marker response.
RETRIEVE - Static variable in class org.finj.FTPCommand
This command causes the server-DTP to transfer a copy of the file, specified in the pathname, to the server- or user-DTP at the other end of the data connection.
RemoteFile - interface org.finj.RemoteFile.
A java.io.File located on a distant computer.
readFTPReply() - Method in class org.finj.FTPClient
Reads replies sent by FTP server on the control stream and notifies the observer (if it exists).
readLineFromControlConnection() - Method in class org.finj.FTPClient
Reads a line from the control connection and returns it without any change.
readMultilineReply(FTPReply) - Method in class org.finj.FTPClient
Utility routine used by mutli-line commands to read the whole stuff from the control connection.
removeDirectory(String) - Method in class org.finj.FTPClient
This command causes the directory specified in the pathname to be removed as a directory (if the pathname is absolute) or as a subdirectory of the current working directory (if the pathname is relative).
removeObserver() - Method in class org.finj.FTPClient
Removes the current observer of this instance, if any.
renameFile(String, String) - Method in class org.finj.FTPClient
This command causes a file to be renamed from its old pathname to its new pathname.
replyReceived(FTPReply) - Method in class org.finj.FTPClientAdapter
Method called when a reply is received from the FTP server.
replyReceived(FTPReply) - Method in interface org.finj.FTPClientObserver
Method called when a reply is received from the FTP server.
resources - Variable in class org.finj.FTPCommand
 
resources - Variable in class org.finj.FTPReply
 
resources - Variable in class org.finj.FTPResponse
 

S

SERVICE_NOT_AVAILABLE_CODE - Static variable in class org.finj.FTPReply
Service not available, closing control connection.
SERVICE_NOT_AVAILABLE_CODE - Static variable in class org.finj.FTPResponse
Service not available, closing control connection.
SITE_PARAMETERS - Static variable in class org.finj.FTPCommand
This command is used by the server to provide services specific to his system that are essential to file transfer but not sufficiently universal to be included as commands in the protocol.
STATUS - Static variable in class org.finj.FTPCommand
This command shall cause a status response to be sent over the control connection in the form of a response.
STORE_FILE - Static variable in class org.finj.FTPCommand
This command causes the server-DTP to accept the data transferred via the data connection and to store the data as a file at the server site.
STORE_UNIQUE_FILE - Static variable in class org.finj.FTPCommand
This command behaves like STORE_FILE except that the resultant file is to be created in the current directory under a name unique to that directory.
STREAM_DATA_TRANSMISSION_MODE - Static variable in class org.finj.FTPClient
The data is transmitted as a stream of bytes.
STREAM_DATA_TRANSMISSION_MODE - Static variable in class org.finj.FTPConstants
The data is transmitted as a stream of bytes.
STRUCTURE_MOUNT - Static variable in class org.finj.FTPCommand
This command allows the user to mount a different file system data structure without altering his login or accounting information.
SUPERFLOUS_COMMAND_CODE - Static variable in class org.finj.FTPReply
Command not implemented, superfluous at this site.
SUPERFLOUS_COMMAND_CODE - Static variable in class org.finj.FTPResponse
Command not implemented, superfluous at this site.
SYNTAX_ERROR_IN_ARGUMENTS_CODE - Static variable in class org.finj.FTPReply
Syntax error n parameters or arguments.
SYNTAX_ERROR_IN_ARGUMENTS_CODE - Static variable in class org.finj.FTPResponse
Syntax error n parameters or arguments.
SYSTEM - Static variable in class org.finj.FTPCommand
This command is used to find out the type of operating system at the server.
SYSTEM_STATUS_OR_HELP_REPLY_CODE - Static variable in class org.finj.FTPReply
System status, or system help reply.
SYSTEM_STATUS_OR_HELP_RESPONSE_CODE - Static variable in class org.finj.FTPResponse
System status, or system help response.
SYSTEM_TYPE_NAME_CODE - Static variable in class org.finj.FTPReply
NAME system type.
SYSTEM_TYPE_NAME_CODE - Static variable in class org.finj.FTPResponse
NAME system type.
sendFTPCommand(String) - Method in class org.finj.FTPClient
Writes the command to the control stream and nofifies the observer (if it exists).
serverhost - Variable in class org.finj.FTPClient
 
setAccount(String) - Method in class org.finj.FTPClient
The account data is used to indentify user's account, but is not necessarily related to the username used to log in, as some sites may require an account for login and others only for specific access, such as storing files.
setDataPort(short) - Method in class org.finj.FTPClient
Defines the HOST-PORT specification for the data port to be used in data connection.
setDataPort(int, short) - Method in class org.finj.FTPClient
Defines the HOST-PORT specification for the data port to be used in data connection.
setDataPort(byte, byte, byte, byte, byte, byte) - Method in class org.finj.FTPClient
Defines the HOST-PORT specification for the data port to be used in data connection.
setDataStructure(int) - Method in class org.finj.FTPClient
In addition to different representation types, FTP allows the structure of a file to be specified.
setDataTransferMode(int) - Method in class org.finj.FTPClient
There are three transmission mode available, one which formats the data and allows for restart procedures; one which also compresses the data for efficient transfer; and one which passes the data with little or no processing.
setDataType(int) - Method in class org.finj.FTPClient
Data representations are handled in FTP by a user specifying a representation type.
setDataType(int, int) - Method in class org.finj.FTPClient
Works just as setDataType (int), except that if the type is FTPClient.LOCAL_DATA_TYPE, then the second parameter (which is useless for the other types) must be the "logical byte size".
setObserver(FTPClientObserver) - Method in class org.finj.FTPClient
Sets the observer of this object to be the one passed as parameter.
setPassive() - Method in class org.finj.FTPClient
This command requests the server-DTP to "listen" on a data port (which is not its default data port) and to wait for a connection rather that initiate one upon receipt of a transfer command.
setWorkingDirectory(String) - Method in class org.finj.FTPClient
This command allows the user to work with a different directory or dataset for file storage or retrieval without altering his login of accounting information.
setWorkingDirectoryUp() - Method in class org.finj.FTPClient
This command is a special case of setWorkingDirectory (String), and is included to simplify the implementation of programs for transferring directory trees between operating systems having different syntaxes for naming the parent directory.
size() - Method in interface org.finj.RemoteFile
Returns the length of the file in bytes.
socket - Variable in class org.finj.FTPSocket
Wrapped socket, either a java.net.Socket, or a java.net.ServerSocket
source - Variable in class org.finj.FTPException
Object that throwed this Exception.

T

TRANSFER_MODE - Static variable in class org.finj.FTPCommand
The argument is a single Telnet character code specifying the data transfer modes described in the section on Transmission Modes of RFC959.
TRANSIENT_INSUFFICIENT_STORAGE_SPACE_CODE - Static variable in class org.finj.FTPReply
Requested action not taken.
TRANSIENT_INSUFFICIENT_STORAGE_SPACE_CODE - Static variable in class org.finj.FTPResponse
Requested action not taken.
TRANSIENT_LOCAL_PROCESSING_ERROR_CODE - Static variable in class org.finj.FTPReply
Requested action aborted: local error in processing.
TRANSIENT_LOCAL_PROCESSING_ERROR_CODE - Static variable in class org.finj.FTPResponse
Requested action aborted: local error in processing.
TRANSIENT_UNAVAILABLE_FILE_CODE - Static variable in class org.finj.FTPReply
Requested file action not taken.
TRANSIENT_UNAVAILABLE_FILE_CODE - Static variable in class org.finj.FTPResponse
Requested file action not taken.
text - Variable in class org.finj.FTPReply
 
text - Variable in class org.finj.FTPResponse
 
toByteArray(short) - Method in class org.finj.FTPClient
Utility routine that takes a short value and chops it into a 2 bytes array.
toByteArray(int) - Method in class org.finj.FTPClient
Utility routine that takes an int value and chops it into a 4 bytes array.
toInt(byte[]) - Method in class org.finj.FTPClient
Utility routine that takes a byte array value and links it into an int value.
toString() - Method in class org.finj.FTPSocket
Returns a string representation of the wrapped socket.
toUnsignedShort(byte) - Method in class org.finj.FTPClient
Utility routine that takes a byte value and transcripts it into a short value.
transferASCIIData(InputStream, OutputStream, int) - Method in class org.finj.FTPClient
Transfers all data coming from in to out in ASCII format.
transferData(InputStream, OutputStream) - Method in class org.finj.FTPClient
Transfers all data coming from in to out in a format that corresponds to the one set with setDataType(int).
transferEBCDICData(InputStream, OutputStream, int) - Method in class org.finj.FTPClient
Transfers all data coming from in to out in EBCDIC format.
transferImageData(InputStream, OutputStream, int) - Method in class org.finj.FTPClient
Transfers all data coming from in to out in Image format.
transferLocalData(InputStream, OutputStream, int) - Method in class org.finj.FTPClient
Transfers all data coming from in to out in Local format.

U

UPLOAD_TRANSFER - Static variable in class org.finj.FTPClient
constant used to differentiate between upload traffic and download traffic
USERNAME_OK_NEED_PASSWORD_CODE - Static variable in class org.finj.FTPReply
User name okay, need password.
USERNAME_OK_NEED_PASSWORD_CODE - Static variable in class org.finj.FTPResponse
User name okay, need password.
USER_LOGGED_IN_CODE - Static variable in class org.finj.FTPReply
User logged in, proceed.
USER_LOGGED_IN_CODE - Static variable in class org.finj.FTPResponse
User logged in, proceed.
USER_NAME - Static variable in class org.finj.FTPCommand
The argument is a Telnet string identifying the user.
UnixFTPServerParser - class org.finj.UnixFTPServerParser.
 
UnixFTPServerParser() - Constructor for class org.finj.UnixFTPServerParser
 
uploadData(InputStream, OutputStream) - Method in class org.finj.FTPClient
Transfers all data going from local host to the server in a format that corresponds to the one set with setDataType(int).

V

VMSFTPServerParser - class org.finj.VMSFTPServerParser.
 
VMSFTPServerParser() - Constructor for class org.finj.VMSFTPServerParser
 

W

WILL_BE_READY_IN_MINUTES_CODE - Static variable in class org.finj.FTPReply
Service ready in nnn minutes.
WILL_BE_READY_IN_MINUTES_CODE - Static variable in class org.finj.FTPResponse
Service ready in nnn minutes.
writeLineToControlConnection(String) - Method in class org.finj.FTPClient
Writes a line to the control connection.

A B C D E F G H I L M N O P R S T U V W