Java Doc for FTPReply.java in  » Net » Apache-commons-net-1.4.1 » org » apache » commons » net » ftp » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Net » Apache commons net 1.4.1 » org.apache.commons.net.ftp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.commons.net.ftp.FTPReply

FTPReply
final public class FTPReply (Code)
FTPReply stores a set of constants for FTP reply codes. To interpret the meaning of the codes, familiarity with RFC 959 is assumed. The mnemonic constant names are transcriptions from the code descriptions of RFC 959. For those who think in terms of the actual reply code values, a set of CODE_NUM constants are provided where NUM is the numerical value of the code.


author:
   Daniel F. Savarese



Field Summary
final public static  intACTION_ABORTED
    
final public static  intBAD_COMMAND_SEQUENCE
    
final public static  intCANNOT_OPEN_DATA_CONNECTION
    
final public static  intCLOSING_DATA_CONNECTION
    
final public static  intCODE_110
    
final public static  intCODE_120
    
final public static  intCODE_125
    
final public static  intCODE_150
    
final public static  intCODE_200
    
final public static  intCODE_202
    
final public static  intCODE_211
    
final public static  intCODE_212
    
final public static  intCODE_213
    
final public static  intCODE_214
    
final public static  intCODE_215
    
final public static  intCODE_220
    
final public static  intCODE_221
    
final public static  intCODE_225
    
final public static  intCODE_226
    
final public static  intCODE_227
    
final public static  intCODE_230
    
final public static  intCODE_250
    
final public static  intCODE_257
    
final public static  intCODE_331
    
final public static  intCODE_332
    
final public static  intCODE_350
    
final public static  intCODE_421
    
final public static  intCODE_425
    
final public static  intCODE_426
    
final public static  intCODE_450
    
final public static  intCODE_451
    
final public static  intCODE_452
    
final public static  intCODE_500
    
final public static  intCODE_501
    
final public static  intCODE_502
    
final public static  intCODE_503
    
final public static  intCODE_504
    
final public static  intCODE_521
    
final public static  intCODE_530
    
final public static  intCODE_532
    
final public static  intCODE_550
    
final public static  intCODE_551
    
final public static  intCODE_552
    
final public static  intCODE_553
    
final public static  intCOMMAND_IS_SUPERFLUOUS
    
final public static  intCOMMAND_NOT_IMPLEMENTED
    
final public static  intCOMMAND_NOT_IMPLEMENTED_FOR_PARAMETER
    
final public static  intCOMMAND_OK
    
final public static  intDATA_CONNECTION_ALREADY_OPEN
    
final public static  intDATA_CONNECTION_OPEN
    
final public static  intDIRECTORY_STATUS
    
final public static  intENTERING_PASSIVE_MODE
    
final public static  intFILE_ACTION_NOT_TAKEN
    
final public static  intFILE_ACTION_OK
    
final public static  intFILE_ACTION_PENDING
    
final public static  intFILE_NAME_NOT_ALLOWED
    
final public static  intFILE_STATUS
    
final public static  intFILE_STATUS_OK
    
final public static  intFILE_UNAVAILABLE
    
final public static  intHELP_MESSAGE
    
final public static  intINSUFFICIENT_STORAGE
    
final public static  intNAME_SYSTEM_TYPE
    
final public static  intNEED_ACCOUNT
    
final public static  intNEED_ACCOUNT_FOR_STORING_FILES
    
final public static  intNEED_PASSWORD
    
final public static  intNOT_LOGGED_IN
    
final public static  intPAGE_TYPE_UNKNOWN
    
final public static  intPATHNAME_CREATED
    
final public static  intRESTART_MARKER
    
final public static  intSERVICE_CLOSING_CONTROL_CONNECTION
    
final public static  intSERVICE_NOT_AVAILABLE
    
final public static  intSERVICE_NOT_READY
    
final public static  intSERVICE_READY
    
final public static  intSTORAGE_ALLOCATION_EXCEEDED
    
final public static  intSYNTAX_ERROR_IN_ARGUMENTS
    
final public static  intSYSTEM_STATUS
    
final public static  intTRANSFER_ABORTED
    
final public static  intUNRECOGNIZED_COMMAND
    
final public static  intUSER_LOGGED_IN
    


Method Summary
public static  booleanisNegativePermanent(int reply)
     Determine if a reply code is a negative permanent response.
public static  booleanisNegativeTransient(int reply)
     Determine if a reply code is a negative transient response.
public static  booleanisPositiveCompletion(int reply)
     Determine if a reply code is a positive completion response.
public static  booleanisPositiveIntermediate(int reply)
     Determine if a reply code is a positive intermediate response.
public static  booleanisPositivePreliminary(int reply)
     Determine if a reply code is a positive preliminary response.

Field Detail
ACTION_ABORTED
final public static int ACTION_ABORTED(Code)



BAD_COMMAND_SEQUENCE
final public static int BAD_COMMAND_SEQUENCE(Code)



CANNOT_OPEN_DATA_CONNECTION
final public static int CANNOT_OPEN_DATA_CONNECTION(Code)



CLOSING_DATA_CONNECTION
final public static int CLOSING_DATA_CONNECTION(Code)



CODE_110
final public static int CODE_110(Code)



CODE_120
final public static int CODE_120(Code)



CODE_125
final public static int CODE_125(Code)



CODE_150
final public static int CODE_150(Code)



CODE_200
final public static int CODE_200(Code)



CODE_202
final public static int CODE_202(Code)



CODE_211
final public static int CODE_211(Code)



CODE_212
final public static int CODE_212(Code)



CODE_213
final public static int CODE_213(Code)



CODE_214
final public static int CODE_214(Code)



CODE_215
final public static int CODE_215(Code)



CODE_220
final public static int CODE_220(Code)



CODE_221
final public static int CODE_221(Code)



CODE_225
final public static int CODE_225(Code)



CODE_226
final public static int CODE_226(Code)



CODE_227
final public static int CODE_227(Code)



CODE_230
final public static int CODE_230(Code)



CODE_250
final public static int CODE_250(Code)



CODE_257
final public static int CODE_257(Code)



CODE_331
final public static int CODE_331(Code)



CODE_332
final public static int CODE_332(Code)



CODE_350
final public static int CODE_350(Code)



CODE_421
final public static int CODE_421(Code)



CODE_425
final public static int CODE_425(Code)



CODE_426
final public static int CODE_426(Code)



CODE_450
final public static int CODE_450(Code)



CODE_451
final public static int CODE_451(Code)



CODE_452
final public static int CODE_452(Code)



CODE_500
final public static int CODE_500(Code)



CODE_501
final public static int CODE_501(Code)



CODE_502
final public static int CODE_502(Code)



CODE_503
final public static int CODE_503(Code)



CODE_504
final public static int CODE_504(Code)



CODE_521
final public static int CODE_521(Code)



CODE_530
final public static int CODE_530(Code)



CODE_532
final public static int CODE_532(Code)



CODE_550
final public static int CODE_550(Code)



CODE_551
final public static int CODE_551(Code)



CODE_552
final public static int CODE_552(Code)



CODE_553
final public static int CODE_553(Code)



COMMAND_IS_SUPERFLUOUS
final public static int COMMAND_IS_SUPERFLUOUS(Code)



COMMAND_NOT_IMPLEMENTED
final public static int COMMAND_NOT_IMPLEMENTED(Code)



COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER
final public static int COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER(Code)



COMMAND_OK
final public static int COMMAND_OK(Code)



DATA_CONNECTION_ALREADY_OPEN
final public static int DATA_CONNECTION_ALREADY_OPEN(Code)



DATA_CONNECTION_OPEN
final public static int DATA_CONNECTION_OPEN(Code)



DIRECTORY_STATUS
final public static int DIRECTORY_STATUS(Code)



ENTERING_PASSIVE_MODE
final public static int ENTERING_PASSIVE_MODE(Code)



FILE_ACTION_NOT_TAKEN
final public static int FILE_ACTION_NOT_TAKEN(Code)



FILE_ACTION_OK
final public static int FILE_ACTION_OK(Code)



FILE_ACTION_PENDING
final public static int FILE_ACTION_PENDING(Code)



FILE_NAME_NOT_ALLOWED
final public static int FILE_NAME_NOT_ALLOWED(Code)



FILE_STATUS
final public static int FILE_STATUS(Code)



FILE_STATUS_OK
final public static int FILE_STATUS_OK(Code)



FILE_UNAVAILABLE
final public static int FILE_UNAVAILABLE(Code)



HELP_MESSAGE
final public static int HELP_MESSAGE(Code)



INSUFFICIENT_STORAGE
final public static int INSUFFICIENT_STORAGE(Code)



NAME_SYSTEM_TYPE
final public static int NAME_SYSTEM_TYPE(Code)



NEED_ACCOUNT
final public static int NEED_ACCOUNT(Code)



NEED_ACCOUNT_FOR_STORING_FILES
final public static int NEED_ACCOUNT_FOR_STORING_FILES(Code)



NEED_PASSWORD
final public static int NEED_PASSWORD(Code)



NOT_LOGGED_IN
final public static int NOT_LOGGED_IN(Code)



PAGE_TYPE_UNKNOWN
final public static int PAGE_TYPE_UNKNOWN(Code)



PATHNAME_CREATED
final public static int PATHNAME_CREATED(Code)



RESTART_MARKER
final public static int RESTART_MARKER(Code)



SERVICE_CLOSING_CONTROL_CONNECTION
final public static int SERVICE_CLOSING_CONTROL_CONNECTION(Code)



SERVICE_NOT_AVAILABLE
final public static int SERVICE_NOT_AVAILABLE(Code)



SERVICE_NOT_READY
final public static int SERVICE_NOT_READY(Code)



SERVICE_READY
final public static int SERVICE_READY(Code)



STORAGE_ALLOCATION_EXCEEDED
final public static int STORAGE_ALLOCATION_EXCEEDED(Code)



SYNTAX_ERROR_IN_ARGUMENTS
final public static int SYNTAX_ERROR_IN_ARGUMENTS(Code)



SYSTEM_STATUS
final public static int SYSTEM_STATUS(Code)



TRANSFER_ABORTED
final public static int TRANSFER_ABORTED(Code)



UNRECOGNIZED_COMMAND
final public static int UNRECOGNIZED_COMMAND(Code)



USER_LOGGED_IN
final public static int USER_LOGGED_IN(Code)





Method Detail
isNegativePermanent
public static boolean isNegativePermanent(int reply)(Code)
Determine if a reply code is a negative permanent response. All codes beginning with a 5 are negative permanent responses. The FTP server will send a negative permanent response on the failure of a command that cannot be reattempted with success.


Parameters:
  reply - The reply code to test. True if a reply code is a negative permanent response, falseif not.




isNegativeTransient
public static boolean isNegativeTransient(int reply)(Code)
Determine if a reply code is a negative transient response. All codes beginning with a 4 are negative transient responses. The FTP server will send a negative transient response on the failure of a command that can be reattempted with success.


Parameters:
  reply - The reply code to test. True if a reply code is a negative transient response, falseif not.




isPositiveCompletion
public static boolean isPositiveCompletion(int reply)(Code)
Determine if a reply code is a positive completion response. All codes beginning with a 2 are positive completion responses. The FTP server will send a positive completion response on the final successful completion of a command.


Parameters:
  reply - The reply code to test. True if a reply code is a postive completion response, falseif not.




isPositiveIntermediate
public static boolean isPositiveIntermediate(int reply)(Code)
Determine if a reply code is a positive intermediate response. All codes beginning with a 3 are positive intermediate responses. The FTP server will send a positive intermediate response on the successful completion of one part of a multi-part sequence of commands. For example, after a successful USER command, a positive intermediate response will be sent to indicate that the server is ready for the PASS command.


Parameters:
  reply - The reply code to test. True if a reply code is a postive intermediate response, falseif not.




isPositivePreliminary
public static boolean isPositivePreliminary(int reply)(Code)
Determine if a reply code is a positive preliminary response. All codes beginning with a 1 are positive preliminary responses. Postitive preliminary responses are used to indicate tentative success. No further commands can be issued to the FTP server after a positive preliminary response until a follow up response is received from the server.


Parameters:
  reply - The reply code to test. True if a reply code is a postive preliminary response, falseif not.




Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.