|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.elegantj.net.ftp.UserDTP
This class encapsulates User Data Transfer process (User DTP).
| Constructor Summary | |
UserDTP()
|
|
| Method Summary | |
java.io.DataInputStream |
getBinaryInputStream()
Method which returns the binary input stream. |
java.io.OutputStream |
getOutputStream()
Method which returns the asci output stream. |
void |
userDTPCloseAsciInputStream()
Method to close ascii Input stream. |
void |
userDTPCloseAsciOutputStream()
Method to close ascii Output stream. |
void |
userDTPCloseBinaryInputStream()
Method to close binary Input stream. |
void |
userDTPCloseBinaryOutputStream()
Method to close binary Output stream. |
void |
userDTPCloseDataConnection()
Method to close the data connection. |
java.lang.String |
userDTPGetAsciData()
Method to receive ascii data from data connection. |
void |
userDTPGetBinaryData(java.io.File filename,
long restartPoint)
Method to receive binary data from data connection and save it in a local file. |
int |
userDTPGetServerSocket()
Method which opens a server socket and returns the port on which user DTP is listening. |
void |
userDTPOpenAsciInputStream()
Method to open the ASCII Input stream. |
void |
userDTPOpenAsciOutputStream()
Method to open the ASCII Output stream. |
void |
userDTPOpenBinaryInputStream()
Method to open the binary Input stream. |
void |
userDTPOpenBinaryOutputStream()
Method to open the binary Output stream. |
void |
userDTPOpenDataConnection()
Method to open the data connection. |
void |
userDTPSendBinaryData(java.io.File filename,
long restartPoint)
Method to send binary data from a local file to FTP server on data connection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UserDTP()
| Method Detail |
public int userDTPGetServerSocket()
public void userDTPOpenDataConnection()
public void userDTPOpenAsciInputStream()
public void userDTPOpenAsciOutputStream()
public void userDTPOpenBinaryInputStream()
public void userDTPOpenBinaryOutputStream()
public void userDTPCloseDataConnection()
public void userDTPCloseAsciInputStream()
public void userDTPCloseAsciOutputStream()
public void userDTPCloseBinaryInputStream()
public void userDTPCloseBinaryOutputStream()
public java.lang.String userDTPGetAsciData()
public void userDTPGetBinaryData(java.io.File filename,
long restartPoint)
filename - The file in which the data will be saved.restartPoint - The restart point.
public void userDTPSendBinaryData(java.io.File filename,
long restartPoint)
filename - The file from which the data will be send to FTP server.restartPoint - The restart point.public java.io.DataInputStream getBinaryInputStream()
public java.io.OutputStream getOutputStream()
|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||