|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ftpserver.usermanager.User
org.apache.ftpserver.FtpUser
Ftp user class. It handles all user specific file system task. It supports user virtual root directory.
Field Summary | |
static java.lang.String |
ANONYMOUS
|
Fields inherited from class org.apache.ftpserver.usermanager.User |
ATTR_ENABLE, ATTR_HOME, ATTR_LOGIN, ATTR_MAX_DOWNLOAD_RATE, ATTR_MAX_IDLE_TIME, ATTR_MAX_UPLOAD_RATE, ATTR_PASSWORD, ATTR_WRITE_PERM |
Constructor Summary | |
FtpUser()
Constructor - does nothing. |
Method Summary | |
boolean |
getIsAnonymous()
Is an anonymous user? |
char |
getMode()
Get the transfer mode. |
java.io.OutputStream |
getOutputStream(java.io.OutputStream os)
Get output stream. |
char |
getStructure()
Get the file structure. |
char |
getType()
Get the user data type. |
boolean |
setMode(char md)
Set the transfer type. |
boolean |
setStructure(char stru)
Set the file structure. |
boolean |
setType(char type)
Set the data type. |
Methods inherited from class org.apache.ftpserver.usermanager.User |
equals, getClientAddress, getEnabled, getLastAccessTime, getLoginTime, getMaxDownloadRate, getMaxIdleTime, getMaxUploadRate, getName, getPassword, getSessionId, getVirtualDirectory, hasLoggedIn, hitUser, isActive, isActive, login, logout, setClientAddress, setEnabled, setMaxDownloadRate, setMaxIdleTime, setMaxUploadRate, setName, setPassword, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String ANONYMOUS
Constructor Detail |
public FtpUser()
Method Detail |
public char getType()
public boolean setType(char type)
public char getStructure()
public boolean setStructure(char stru)
public char getMode()
public boolean setMode(char md)
public java.io.OutputStream getOutputStream(java.io.OutputStream os)
ftpserver.util.AsciiOutputStream
if the transfer type is ASCII.
public boolean getIsAnonymous()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |