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()
ActivationType
getName
in interface ActivationType
public String getDescription()
ActivationType
getDescription
in interface ActivationType
public ActivatorConfigurator createConfigurator(TopcatModelInfo tinfo)
ActivationType
createConfigurator
in interface ActivationType
tinfo
- information about topcat model for which the
activation will take placepublic Suitability getSuitability(TopcatModelInfo tinfo)
ActivationType
getSuitability
in interface ActivationType
tinfo
- 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 nullIOException
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.