|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.Prominic.jFTPd.FTPd
public class FTPd
Main class, which starts up the application.
Field Summary | |
---|---|
private static AdminConnection |
adminConnection
|
private static java.lang.String |
copyright
|
private static java.lang.String |
CRLF
|
private static FTPHandler |
handler
|
private static java.lang.String |
version
|
private static java.lang.String |
welcome
|
Constructor Summary | |
---|---|
FTPd()
|
Method Summary | |
---|---|
static void |
displayCopyright()
Displays the copyright (including server version) on STDOUT. |
static FTPHandler |
getFTPHandler()
Returns the FTPHandler (connection handler) of the server. |
static java.lang.String |
getStatistics()
Returns a String which contains a couple of statistics from the server (such as uptime, and number of files uploaded/downloaded, and number of bytes uploaded/downloaded). |
static java.lang.String |
getVersion()
Returns a string containing the version of the server. |
static FTPHandler |
installHandler(java.lang.String[] args)
Installs the FTP handler - which will process the command line arguments, disply the copyright, read the configuration file and spawn FTP connections. |
static void |
main(java.lang.String[] args)
Starts the server by installing an FTPhandler, which will receive the command line arguments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static java.lang.String copyright
private static java.lang.String version
private static java.lang.String welcome
private static java.lang.String CRLF
private static AdminConnection adminConnection
private static FTPHandler handler
Constructor Detail |
---|
public FTPd()
Method Detail |
---|
public static void displayCopyright()
public static FTPHandler getFTPHandler()
public static java.lang.String getStatistics()
public static java.lang.String getVersion()
public static FTPHandler installHandler(java.lang.String[] args)
args[]
- - command line arguments.
Creation date: (07-Aug-02 16:30:08)public static void main(java.lang.String[] args)
args
- - command line arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |