|
||||||||||
| 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 java.lang.String |
host
Remote test host |
protected Logger |
log
Log stream |
protected java.lang.String |
password
User password |
protected java.util.Properties |
props
Test properties |
protected int |
timeout
Socket timeout |
protected java.lang.String |
user
Test user |
| Constructor Summary | |
|---|---|
TestTools()
Constructor |
|
| Method Summary | |
|---|---|
FTPClientInterface |
connect()
Connect to the remote host |
java.lang.String |
getHost()
Get host |
java.lang.String |
getPassword()
Get password |
int |
getTimeout()
|
java.lang.String |
getUser()
Get username |
void |
setHost(java.lang.String host)
|
void |
setPassword(java.lang.String password)
|
void |
setProperties(java.util.Properties props)
Set test properties for connecting |
void |
setUser(java.lang.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 java.util.Properties props
protected java.lang.String user
protected java.lang.String password
protected java.lang.String host
protected int timeout
| Constructor Detail |
|---|
public TestTools()
| Method Detail |
|---|
public int getTimeout()
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public java.lang.String getUser()
public void setUser(java.lang.String user)
public java.lang.String getHost()
public void setHost(java.lang.String host)
public void setProperties(java.util.Properties props)
props - properties obj
public FTPClientInterface connect()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||