|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
java.util.Properties
org.apache.ftpserver.FtpStatus
Ftp status line parser class. This class loads FtpStatus.properties
file from the classpath. It generates the descriptive ftp status for
astatus code. The actual response depends on the status code, the ftp
command and the passed argument list.
Field Summary |
Fields inherited from class java.util.Properties |
defaults |
Constructor Summary | |
FtpStatus()
Load status propeties file from the classpath. |
Method Summary | |
java.lang.String |
getResponse(int status,
FtpRequest cmd,
FtpUser user,
java.lang.String[] args)
Get ftp response. |
java.lang.String |
processNewLine(java.lang.String msg,
int status)
Process ftp response new line character. |
Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FtpStatus() throws java.io.IOException
Method Detail |
public java.lang.String processNewLine(java.lang.String msg, int status)
public java.lang.String getResponse(int status, FtpRequest cmd, FtpUser user, java.lang.String[] args)
status
- ftp status code.cmd
- ftp request object (may be null).
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |