|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ftpserver.main.CommandLine
public class CommandLine
This class is the starting point for the FtpServer when it is started using the command line mode.
Constructor Summary | |
---|---|
protected |
CommandLine()
The purpose of this class is to allow the final user to start the FtpServer application. |
Method Summary | |
---|---|
protected FtpServer |
getConfiguration(String[] args)
Get the configuration object. |
static void |
main(String[] args)
This method is the FtpServer starting point when running by using the command line mode. |
protected void |
usage()
Print the usage message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CommandLine()
static
methods and cannot be instanced.
Method Detail |
---|
public static void main(String[] args)
args
- The first element of this array must specify the kind of
configuration to be used to start the server.protected void usage()
protected FtpServer getConfiguration(String[] args) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |