|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.ftp.FTPApplicationProperties
public class FTPApplicationProperties
This class provides common support to applications requiring properties related to FTP network services.
| Field Summary | |
|---|---|
protected int |
clientDebugLevel
|
protected FTPRemoteHostInformation |
ftpRemoteHostInformation
|
static String |
propertyName_ClientDebugLevel
|
| Constructor Summary | |
|---|---|
FTPApplicationProperties()
Create default properties. |
|
FTPApplicationProperties(Properties properties)
Extract the ftp properties from the supplied properties. |
|
| Method Summary | |
|---|---|
int |
getClientDebugLevel()
Return the client debug level. |
FTPRemoteHostInformation |
getFTPRemoteHostInformation()
Return the network application information. |
Properties |
getProperties(Properties properties)
Retrieve the ftp properties. |
static void |
main(String[] arg)
Test the parsing of network properties from the specified file, by reading them and printing them. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String propertyName_ClientDebugLevel
protected int clientDebugLevel
protected FTPRemoteHostInformation ftpRemoteHostInformation
| Constructor Detail |
|---|
public FTPApplicationProperties()
throws FTPException
Create default properties.
FTPException
public FTPApplicationProperties(Properties properties)
throws FTPException
Extract the ftp properties from the supplied properties.
properties -
FTPException| Method Detail |
|---|
public Properties getProperties(Properties properties)
Retrieve the ftp properties.
param properties the existing properties to add to (replacing corresponding properties already there), or null if none
public int getClientDebugLevel()
Return the client debug level.
public FTPRemoteHostInformation getFTPRemoteHostInformation()
Return the network application information.
public String toString()
toString in class Objectpublic static void main(String[] arg)
Test the parsing of network properties from the specified file, by reading them and printing them.
arg - one argument, a single file name that is the properties file
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||