public class FileTransferHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
downloadFile(OutputStream dataOut,
FileTransferParameters params) |
int |
getClientTransferId() |
long |
getIconId(byte[] data) |
byte[] |
readFully(InputStream dataIn,
long dataLength) |
void |
uploadFile(InputStream dataIn,
long dataLength,
FileTransferParameters params) |
public void downloadFile(OutputStream dataOut, FileTransferParameters params) throws IOException
IOExceptionpublic void uploadFile(InputStream dataIn, long dataLength, FileTransferParameters params) throws IOException
IOExceptionpublic long getIconId(byte[] data)
public byte[] readFully(InputStream dataIn, long dataLength) throws IOException
IOExceptionpublic int getClientTransferId()
Copyright © 2018. All rights reserved.