|
|||||||||
| Home >> All >> org >> finj >> [ profile overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.finj.profile
Class StrictFTPServerProfile

java.lang.Objectorg.finj.profile.StrictFTPServerProfile
- All Implemented Interfaces:
- org.finj.FTPServerProfile
- public class StrictFTPServerProfile
- extends java.lang.Object
- implements org.finj.FTPServerProfile
- extends java.lang.Object
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.
Copyright (C)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- Version:
- $Id: StrictFTPServerProfile.java,v 1.2 2003/05/27 15:50:24 jiglesia Exp $
| Constructor Summary | |
StrictFTPServerProfile()
Constructs a new instance of this class. |
|
| Method Summary | |
protected boolean |
isABORCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isACCTCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isALLOCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isAPPECommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isCDUPCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
boolean |
isCommandCompleted(org.finj.FTPCommand command,
org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
boolean |
isControlConnectionReady(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect after establishing the control
connection with a server. |
protected boolean |
isCWDCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isDELECommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isLISTCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isMKDCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isMODECommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isNLSTCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isNOOPCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isPASSCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isPASVCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isPORTCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isPostAPPECommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect to end the command that
required a data connection setup and destruction. |
boolean |
isPostCommandCompleted(org.finj.FTPCommand command,
org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect to end a command that
required a data connection setup and destruction. |
protected boolean |
isPostLISTCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect to end the command that
required a data connection setup and destruction. |
protected boolean |
isPostNLSTCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect to end the command that
required a data connection setup and destruction. |
protected boolean |
isPostRETRCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect to end the command that
required a data connection setup and destruction. |
protected boolean |
isPostSTORCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect to end the command that
required a data connection setup and destruction. |
protected boolean |
isPostSTOUCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect to end the command that
required a data connection setup and destruction. |
protected boolean |
isPWDCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isQUITCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isREINCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isRESTCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isRETRCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isRMDCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isRNFRCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isRNTOCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isSITECommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isSMNTCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isSTATCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isSTORCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isSTOUCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isSTRUCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isSYSTCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isTYPECommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
protected boolean |
isUSERCommandCompleted(org.finj.FTPResponse response)
Checks if the response is the last that
one has to expect for the command. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
StrictFTPServerProfile
public StrictFTPServerProfile()
- Constructs a new instance of this class.
- Since:
- v1.0
| Method Detail |
isControlConnectionReady
public boolean isControlConnectionReady(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect after establishing the control connection with a server.- Specified by:
isControlConnectionReadyin interfaceorg.finj.FTPServerProfile
- Since:
- v1.2
isCommandCompleted
public boolean isCommandCompleted(org.finj.FTPCommand command, org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Specified by:
isCommandCompletedin interfaceorg.finj.FTPServerProfile
- Since:
- v1.0
isUSERCommandCompleted
protected boolean isUSERCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isPASSCommandCompleted
protected boolean isPASSCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isACCTCommandCompleted
protected boolean isACCTCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isCWDCommandCompleted
protected boolean isCWDCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isCDUPCommandCompleted
protected boolean isCDUPCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isSMNTCommandCompleted
protected boolean isSMNTCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isREINCommandCompleted
protected boolean isREINCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isQUITCommandCompleted
protected boolean isQUITCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isPORTCommandCompleted
protected boolean isPORTCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isPASVCommandCompleted
protected boolean isPASVCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isTYPECommandCompleted
protected boolean isTYPECommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isSTRUCommandCompleted
protected boolean isSTRUCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isMODECommandCompleted
protected boolean isMODECommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isRETRCommandCompleted
protected boolean isRETRCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isSTORCommandCompleted
protected boolean isSTORCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isSTOUCommandCompleted
protected boolean isSTOUCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isAPPECommandCompleted
protected boolean isAPPECommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isALLOCommandCompleted
protected boolean isALLOCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isRESTCommandCompleted
protected boolean isRESTCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isRNFRCommandCompleted
protected boolean isRNFRCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isRNTOCommandCompleted
protected boolean isRNTOCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isABORCommandCompleted
protected boolean isABORCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isDELECommandCompleted
protected boolean isDELECommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isRMDCommandCompleted
protected boolean isRMDCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isMKDCommandCompleted
protected boolean isMKDCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isPWDCommandCompleted
protected boolean isPWDCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isLISTCommandCompleted
protected boolean isLISTCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isNLSTCommandCompleted
protected boolean isNLSTCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isSITECommandCompleted
protected boolean isSITECommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isSYSTCommandCompleted
protected boolean isSYSTCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isSTATCommandCompleted
protected boolean isSTATCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isNOOPCommandCompleted
protected boolean isNOOPCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect for thecommand.- Since:
- v1.0
isPostCommandCompleted
public boolean isPostCommandCompleted(org.finj.FTPCommand command, org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect to end acommandthat required a data connection setup and destruction. This method only applies to:org.finj.FTPCommand.APPEND_WITH_CREATEorg.finj.FTPCommand.NAME_LISTorg.finj.FTPCommand.STORE_FILEorg.finj.FTPCommand.STORE_UNIQUE_FILEFIXME:check that!
isCommandCompleted(org.finj.FTPCommand, org.finj.FTPResponse)which will be the one triggering the command execution and data connection opening.- Specified by:
isPostCommandCompletedin interfaceorg.finj.FTPServerProfile
- Since:
- v1.0
isPostAPPECommandCompleted
protected boolean isPostAPPECommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect to end thecommandthat required a data connection setup and destruction.- Since:
- v1.0
isPostLISTCommandCompleted
protected boolean isPostLISTCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect to end thecommandthat required a data connection setup and destruction.- Since:
- v1.0
isPostNLSTCommandCompleted
protected boolean isPostNLSTCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect to end thecommandthat required a data connection setup and destruction.- Since:
- v1.0
isPostRETRCommandCompleted
protected boolean isPostRETRCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect to end thecommandthat required a data connection setup and destruction.- Since:
- v1.0
isPostSTORCommandCompleted
protected boolean isPostSTORCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect to end thecommandthat required a data connection setup and destruction.- Since:
- v1.0
isPostSTOUCommandCompleted
protected boolean isPostSTOUCommandCompleted(org.finj.FTPResponse response) throws org.finj.FTPException
- Checks if the
responseis the last that one has to expect to end thecommandthat required a data connection setup and destruction.- Since:
- v1.0
|
|||||||||
| Home >> All >> org >> finj >> [ profile overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.finj.profile.StrictFTPServerProfile