public class LocalFileTransferAsyncHandler extends TransferHandler
| Modifier and Type | Field and Description |
|---|---|
static int |
bufferSize |
destData, endIndex, errorHappened, inputFiles, logger, outPath, startIndex, timeout, transferId, transferType| Constructor and Description |
|---|
LocalFileTransferAsyncHandler(String[] inputFiles,
String outPath,
String transferId,
org.gcube.datatransfer.agent.stubs.datatransferagent.TransferType type,
org.gcube.datatransfer.agent.stubs.datatransferagent.DestData data,
int startIndex,
int endIndex) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAvailableSize(long size) |
static long |
copyLarge(InputStream input,
OutputStream output) |
static void |
copyWithHttpClient(String inputURI,
String outPutUri) |
void |
run() |
getTransferObjList, isErrorHappened, setTransferObjpublic void run()
public boolean checkAvailableSize(long size)
public static long copyLarge(InputStream input, OutputStream output) throws IOException
IOExceptionCopyright © 2015. All Rights Reserved.