A B C D E F G H I L M N O P R S T U 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.
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.
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.
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.
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.
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.
appendToFile(InputStream, String, boolean) - 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.
ascii() - Method in class org.finj.FTPClient
Deprecated. use FTPClient.setDataType (FTPConstants.ASCII_DATA_TYPE) instead. THIS METHOD WILL NOT BE CONTINUED.
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.
ASCIIDataFilterInputStream - Class in org.finj.filter
Filter to be placed on InputStream when downloading data in org.finj.FTPConstants.ASCII_DATA_TYPE.
ASCIIDataFilterInputStream(InputStream) - Constructor for class org.finj.filter.ASCIIDataFilterInputStream
Constructs a new instance of this class, wrapping and filtering in.
ASCIIDataFilterInputStream(InputStream, int, int) - Constructor for class org.finj.filter.ASCIIDataFilterInputStream
Constructs a new instance of this class, resetting the integer values for the LineFeed and CarriageReturn characters to the values provided.

B

BAD_COMMAND_SEQUENCE_CODE - Static variable in class org.finj.FTPResponse
Bad sequence of commands.
binary() - Method in class org.finj.FTPClient
Deprecated. use FTPClient.setDataType (FTPConstants.IMAGE_DATA_TYPE) instead. THIS METHOD WILL NOT BE CONTINUED.
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.
broadcastCommand(String) - Method in class org.finj.FTPClient
Broadcasts the command sent to the server to the current observer, if any.
broadcastResponse(FTPResponse) - Method in class org.finj.FTPClient
Broadcasts the response received from the server to the current observer, if any.

C

CAN_T_OPEN_DATA_CONNECTION_CODE - Static variable in class org.finj.FTPResponse
Can't open data connection.
canRead() - Method in class org.finj.RemoteFile
Returns true if file can be read.
canWrite() - Method in class org.finj.RemoteFile
Returns true if file can be written to.
cd(String) - Method in class org.finj.FTPClient
Deprecated. use FTPClient.setWorkingDirectory (String) instead. THIS METHOD WILL NOT BE CONTINUED.
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.
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.
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.FTPResponse
Command not implemented for that parameter.
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.
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.FTPResponse
Service closing control connection.
CONTROL_CONNECTION_OPENED_CODE - Static variable in class org.finj.FTPResponse
Service ready for new user.
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.
createInvalidResponseException(Object, int, String) - Static method in exception org.finj.FTPException
Utility routine that composes the message used for FTPExceptions.

D

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.FTPResponse
File status okay; about to open data connection.
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.FTPResponse
Closing data connection.
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.
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.
DEFAULT_FTP_PORT - Static variable in class org.finj.FTPConstants
Default FTP port value is '21'.
DEFAULT_LOCALE - Static variable in class org.finj.FTPConstants
Default Locale used when none is provided at construction time.
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.
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.
DIRECTORY_STATUS_CODE - Static variable in class org.finj.FTPResponse
Directory status
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.

E

EBCDIC_DATA_TYPE - Static variable in class org.finj.FTPConstants
Intended for efficient transfer between hosts which use EBCDIC for their internal character representation.
EBCDICDataFilterInputStream - Class in org.finj.filter
Filter to be placed on InputStream when downloading data in org.finj.FTPConstants.EBCDIC_DATA_TYPE.
EBCDICDataFilterInputStream(InputStream) - Constructor for class org.finj.filter.EBCDICDataFilterInputStream
 
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.FTPResponse
Requested file action aborted.

F

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.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.FTPResponse
Requested action not taken.
FTPClient - Class in org.finj
The main class of the project, the one to instanciate in order to have access to an FTP server through FinJ.
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 FTPResponses.
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 FTPConstants.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 FTPConstants.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, char[]) - Constructor for class org.finj.FTPClient
Constructs a new instance of this class that will try to connect to the server through the FTPConstants.DEFAULT_FTP_PORT, and try to log in using user and pass login information.
FTPClient(String, String, char[], Locale) - Constructor for class org.finj.FTPClient
Constructs a new instance of this class that will try to connect to the server through the FTPConstants.DEFAULT_FTP_PORT, and try to log in using user and pass login information.
FTPClient(String, int, String, char[]) - 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, char[], 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 in org.finj
An adapter class for receiving FTPClient observations.
FTPClientAdapter() - Constructor for class org.finj.FTPClientAdapter
Constructs a new instance of this class.
FTPClientObserver - Interface in org.finj
Instances of this observer receive notifications of the progress of the work of an FTPClient to which they have to be registered.
FTPCommand - Class in org.finj
This class contains constants and methods that simplify handling and internationalization of FTP client commands.
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 in org.finj
Class that gathers project wide constants.
FTPException - Exception in org.finj
Exceptions thrown by an instance of org.finj.FTPClient built around a org.finj.FTPResponse, when the server refuses the actipon the org.finj.FTPClient was supposed to perform.
FTPException(Object, int, String) - Constructor for exception org.finj.FTPException
Constructs a new instance of this class that will carry the org.finj.FTPResponse code and the original message received from the FTP server.
FTPResponse - Class in org.finj
This class contains constants and methods that simplify handling and internationalization of FTP server replies.
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 in org.finj
Defines the set of methods that a parser has to implement in order to be circonvain to plateform specific information.
FTPServerProfile - Interface in org.finj
The goal of this interface is to leave the possibility to handle servers that do not comply with the RFC959 strictly.
FTPSocket - Class in org.finj
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 exception org.finj.FTPException
Returns the org.finj.FTPResponse code produced by the FTP server that triggered this Exception.
getCode() - Method in class org.finj.FTPResponse
Returns the FTP code of this response.
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.
getDataStructure() - Method in class org.finj.FTPClient
Returns the current data structure manipulated, that is one of FTPConstants.FILE_DATA_STRUCTURE (default value), FTPConstants.RECORD_DATA_STRUCTURE, FTPConstants.PAGE_DATA_STRUCTURE.
getDataTransferMode() - Method in class org.finj.FTPClient
Returns the data transmission mode currently used, that is one of FTPConstants.STREAM_DATA_TRANSMISSION_MODE (default value), FTPConstants.BLOCK_DATA_TRANSMISSION_MODE, FTPConstants.COMPRESSED_DATA_TRANSMISSION_MODE.
getDataType() - Method in class org.finj.FTPClient
Returns the current data type manipulated, that is one of FTPConstants.ASCII_DATA_TYPE (default value), FTPConstants.EBCDIC_DATA_TYPE, FTPConstants.IMAGE_DATA_TYPE, FTPConstants.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.
getFile(OutputStream, String, boolean) - 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(boolean) - 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.
getFileDescriptors(String, boolean) - 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(boolean) - 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.
getFileNames(String, boolean) - 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 exception org.finj.FTPException
Returns the original message produced by the FTP server that triggered this Exception.
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.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 class 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.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 class org.finj.RemoteFile
Returns parent path if it exists, null if not.
getPath() - Method in class 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 exception 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

hasObserver() - Method in class org.finj.FTPClient
Tells if this instance is currently being observed.
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.FTPResponse
Help message.

I

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.
ImageDataFilterInputStream - Class in org.finj.filter
Filter to be placed on InputStream when downloading data in org.finj.FTPConstants.IMAGE_DATA_TYPE.
ImageDataFilterInputStream(InputStream) - Constructor for class org.finj.filter.ImageDataFilterInputStream
 
isABORCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isACCTCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isALLOCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isAPPECommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isCDUPCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isCommandCompleted(FTPCommand, FTPResponse) - Method in interface org.finj.FTPServerProfile
Checks if the response is the last that one has to expect for the command.
isCommandCompleted(FTPCommand, FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
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.
isControlConnectionReady(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect after establishing the control connection with a server.
isCWDCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isDELECommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isDirectory() - Method in class org.finj.RemoteFile
Returns true if path points to a directory, false else.
isFile() - Method in class org.finj.RemoteFile
Returns true if path points to a file, false else.
isHidden() - Method in class org.finj.RemoteFile
Tests whether the file named by this abstract pathname is a hidden file.
isLISTCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isMKDCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isMODECommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isMultiline() - Method in class org.finj.FTPResponse
Returns true if this response anounces a multi line response, e.g., STAT command.
isNLSTCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isNOOPCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the 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.
isPASSCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isPASVCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isPORTCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isPostAPPECommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect to end the command that required a data connection setup and destruction.
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.
isPostCommandCompleted(FTPCommand, FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect to end a command that required a data connection setup and destruction.
isPostLISTCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect to end the command that required a data connection setup and destruction.
isPostNLSTCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect to end the command that required a data connection setup and destruction.
isPostRETRCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect to end the command that required a data connection setup and destruction.
isPostSTORCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect to end the command that required a data connection setup and destruction.
isPostSTOUCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect to end the command that required a data connection setup and destruction.
isPWDCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isQUITCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isREINCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isRESTCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isRETRCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isRMDCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isRNFRCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isRNTOCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isServerSocket() - Method in class org.finj.FTPSocket
Returns info on the kind of socket wrapped.
isSITECommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isSMNTCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isSocket() - Method in class org.finj.FTPSocket
Returns info on the kind of socket wrapped.
isSTATCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isSTORCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isSTOUCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isSTRUCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isSYSTCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isTYPECommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isUSERCommandCompleted(FTPResponse) - Method in class org.finj.profile.StrictFTPServerProfile
Checks if the response is the last that one has to expect for the command.
isVerbose() - Method in class org.finj.FTPClient
Return the current status of the verbose (debugging) mode.
isVerbose(boolean) - Method in class org.finj.FTPClient
Update verbose (debugging) mode status.

L

lastModified() - Method in class org.finj.RemoteFile
Returns the time that the file was last modified, measured in milliseconds since 1970/01/01.
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.FTPConstants
Data is transferred in logical bytes of the size specified by the obligatory sceond parameter, Byte size.
LocalDataFilterInputStream - Class in org.finj.filter
Filter to be placed on InputStream when downloading data in org.finj.FTPConstants.LOCAL_DATA_TYPE.
LocalDataFilterInputStream(InputStream) - Constructor for class org.finj.filter.LocalDataFilterInputStream
 
login(String, char[]) - 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.
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.

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).
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).
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.

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.FTPResponse
Need account for login.
NEED_ACCOUNT_FOR_STORING_FILES_CODE - Static variable in class org.finj.FTPResponse
Need account for storing files.
NO_OPERATION - Static variable in class org.finj.FTPCommand
This command does not affect any parameters or previously entered commands.
NOT_LOGGED_IN_CODE - Static variable in class org.finj.FTPResponse
Not logged in.
notValidResponse(int, String) - Method in class org.finj.FTPClient
Utility routine that composes the message used for FTPExceptions.

O

open(String) - Method in class org.finj.FTPClient
Connects to the server through the FTPConstants.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
Core classes for finj project.
org.finj.filter - package org.finj.filter
Filters used by org.finj.FTPClient to treat up/downloaded data.
org.finj.profile - package org.finj.profile
 

P

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.FTPResponse
Requested action aborted: page type unknown.
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.
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.FTPResponse
"PATHNAME" created.
PERMANENT_NEGATIVE_COMPLETION_RESPONSE_CODE - Static variable in class org.finj.FTPResponse
Syntax error, command unrecognized.
PERMANENTLY_UNAVAILABLE_FILE_CODE - Static variable in class org.finj.FTPResponse
Requested action not taken.
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.
processCommand(FTPCommand) - Method in class org.finj.FTPClient
Do all the job required when processing an FTP command, returning the last response received from the server.
processPostCommand(FTPCommand) - Method in class org.finj.FTPClient
Do all the job required when processing an FTP command, returning the last response received from the server.
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.
putFile(InputStream, String, boolean) - 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.
putUniqueFile(InputStream, boolean) - 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

read() - Method in class org.finj.filter.ASCIIDataFilterInputStream
Returns one filtered byte from the undelying fields.
read(byte[]) - Method in class org.finj.filter.ASCIIDataFilterInputStream
Stores as much filtered data as possible to read from the underlying stream.
read(byte[], int, int) - Method in class org.finj.filter.ASCIIDataFilterInputStream
Stores as much filtered data as possible to read from the underlying stream.
readFTPResponse() - 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.
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.
RemoteFile - Class in org.finj
Class inspired on java.io.File, that represents files located on a distant computer.
RemoteFile(String, String, boolean, boolean, boolean, boolean, long, long) - Constructor for class org.finj.RemoteFile
 
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).
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.
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.
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.
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.FTPResponse
Requested file action okay, completed.
REQUESTED_FILE_ACTION_PENDING_CODE - Static variable in class org.finj.FTPResponse
Requested file action pending further information.
responseReceived(FTPResponse) - Method in class org.finj.FTPClientAdapter
Method called when a response is received from the FTP server.
responseReceived(FTPResponse) - Method in interface org.finj.FTPClientObserver
Method called when a response is received from the FTP server.
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_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.

S

sendFTPCommand(String) - Method in class org.finj.FTPClient
Writes the command to the control stream and nofifies the observer (if it exists).
SERVICE_NOT_AVAILABLE_CODE - Static variable in class org.finj.FTPResponse
Service not available, closing control connection.
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 FTPConstants.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.
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.
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.
size() - Method in class org.finj.RemoteFile
Returns the length of the file in bytes.
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.FTPConstants
The data is transmitted as a stream of bytes.
StrictFTPServerProfile - Class in org.finj.profile
This implementation of the org.finj.FTPServerProfile interface is a strict, word by word transcription of RFC959: FTP servers that work with this profile are 100% compatible.
StrictFTPServerProfile() - Constructor for class org.finj.profile.StrictFTPServerProfile
Constructs a new instance of this class.
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.FTPResponse
Command not implemented, superfluous at this site.
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_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.FTPResponse
NAME system type.

T

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.
toString() - Method in class org.finj.RemoteFile
 
toUnsignedShort(byte) - Method in class org.finj.FTPClient
Utility routine that takes a byte value and transcripts it into a short value.
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.FTPResponse
Requested action not taken.
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.FTPResponse
Requested file action not taken.

U

usePassiveDataTransfer(boolean) - Method in class org.finj.FTPClient
Turns passive data transfer mode on and off.
usePassiveDataTransfer() - Method in class org.finj.FTPClient
Returns the true if data transfers are done in passive mode.
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.
USERNAME_OK_NEED_PASSWORD_CODE - Static variable in class org.finj.FTPResponse
User name okay, need password.

W

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 W

Copyright © 2009. All Rights Reserved.