public class DownloadActivationType extends Object implements ActivationType
| Constructor and Description |
|---|
DownloadActivationType() |
| Modifier and Type | Method and Description |
|---|---|
ActivatorConfigurator |
createConfigurator(TopcatModelInfo tinfo)
Returns a component that can be used to configure activators of
this type.
|
static void |
download(URL url,
String filename,
String dir)
Copies a remote resource to local storage.
|
String |
getDescription()
Description of this activation type.
|
String |
getName()
Name of this activation type.
|
Suitability |
getSuitability(TopcatModelInfo tinfo)
Indicates the applicability of this activation type to a given table.
|
public String getName()
ActivationTypegetName in interface ActivationTypepublic String getDescription()
ActivationTypegetDescription in interface ActivationTypepublic ActivatorConfigurator createConfigurator(TopcatModelInfo tinfo)
ActivationTypecreateConfigurator in interface ActivationTypetinfo - information about topcat model for which the
activation will take placepublic Suitability getSuitability(TopcatModelInfo tinfo)
ActivationTypegetSuitability in interface ActivationTypetinfo - information about topcat modelpublic static void download(URL url, String filename, String dir) throws IOException
url - remote resourcefilename - relative or absolute name of local filedir - directory context for filename; may be nullIOExceptionCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.