org.mockftpserver.fake
Interface ServerConfiguration
- All Known Implementing Classes:
- FakeFtpServer
public interface ServerConfiguration
Interface for objects that provide access to server-specific information.
- Version:
- $Revision: 200 $ - $Date: 2008-12-11 19:01:21 -0500 (Thu, 11 Dec 2008) $
- Author:
- Chris Mair
getFileSystem
FileSystem getFileSystem()
- Returns:
- the
FileSystem for this server
getUserAccount
UserAccount getUserAccount(String username)
- Parameters:
username - - the user name
- Returns:
- the
UserAccount configured for this server for the specified user name
getSystemName
String getSystemName()
- Returns:
- the System Name for this server (used by the SYST command)
getSystemStatus
String getSystemStatus()
- Returns:
- the System Status text for this server (used by the STAT command)
getHelpText
String getHelpText(String name)
- Return the help text for a command or the default help text if no command name is specified
- Parameters:
name - - the command name; may be empty or null to indicate a request for the default help text
- Returns:
- the help text for the named command or the default help text if no name is supplied
Copyright © 2014. All rights reserved.