Class ECtransList
java.lang.Object
ecmwf.common.ectrans.ECtransList
-
Constructor Summary
ConstructorsConstructorDescriptionECtransList(String directory) Instantiates a new ectrans list.ECtransList(String directory, String pattern, boolean asStringArray) Instantiates a new ectrans list.ECtransList(String directory, String pattern, OutputStream out) Instantiates a new ectrans list. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclose(TransferModule module, long timeout, boolean asynchronous) Close.protected voidexec(TransferModule module, boolean interruptible) Exec.protected StringGets the cookie.protected ECtransCallbackGets the ectrans callback.protected ECtransContainerGets the EC trans container.protected ECtransHistoryGets the ectrans history.byte[]Gets the list as a GZIPed byte array.String[]Gets the list as a string array.protected StringgetName()Gets the name.protected RemoteProviderGets the remote provider.Gets the result.voidinit(RemoteProvider provider, ECtransContainer container, ECtransCallback callback, String cookie) Inits the.
-
Constructor Details
-
ECtransList
Instantiates a new ectrans list.- Parameters:
directory- the directory
-
ECtransList
-
ECtransList
Instantiates a new ectrans list.- Parameters:
directory- the directorypattern- the patternout- the out
-
-
Method Details
-
getName
-
exec
Exec. Exec.- Parameters:
module- the moduleinterruptible- the interruptible- Throws:
Exception- the exception
-
getListAsStringArray
Gets the list as a string array.- Returns:
- the list
- Throws:
ECtransException- the ectrans exception
-
getListAsByteArray
Gets the list as a GZIPed byte array.- Returns:
- the list
- Throws:
ECtransException- the ectrans exception
-
init
public void init(RemoteProvider provider, ECtransContainer container, ECtransCallback callback, String cookie) Inits the.- Parameters:
provider- the providercontainer- the containercallback- the callbackcookie- the cookie
-
getECTransContainer
Gets the EC trans container.- Returns:
- the EC trans container
-
getECtransCallback
Gets the ectrans callback.- Returns:
- the ectrans callback
-
getRemoteProvider
-
getECtransHistory
-
getCookie
-
getResult
-
close
Close.- Parameters:
module- the moduletimeout- the timeoutasynchronous- the asynchronous- Throws:
IOException- Signals that an I/O exception has occurred.
-