|
edtFTPj | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.enterprisedt.net.ftp.test.TestTools
public class TestTools
Base class for login tools
| Field Summary | |
|---|---|
protected String |
host
Remote test host |
protected Logger |
log
Log stream |
protected String |
password
User password |
protected Properties |
props
Test properties |
protected int |
timeout
Socket timeout |
protected String |
user
Test user |
| Constructor Summary | |
|---|---|
TestTools()
Constructor |
|
| Method Summary | |
|---|---|
FTPClientInterface |
connect()
Connect to the remote host |
String |
getHost()
Get host |
String |
getPassword()
Get password |
int |
getTimeout()
|
String |
getUser()
Get username |
void |
setHost(String host)
|
void |
setPassword(String password)
|
void |
setProperties(Properties props)
Set test properties for connecting |
void |
setUser(String user)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Logger log
protected Properties props
protected String user
protected String password
protected String host
protected int timeout
| Constructor Detail |
|---|
public TestTools()
| Method Detail |
|---|
public int getTimeout()
public String getPassword()
public void setPassword(String password)
public String getUser()
public void setUser(String user)
public String getHost()
public void setHost(String host)
public void setProperties(Properties props)
props - properties obj
public FTPClientInterface connect()
throws Exception
Exception
|
edtFTPj | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||