ActivationTypepublic class DownloadActivationType extends java.lang.Object implements ActivationType
| Constructor | Description |
|---|---|
DownloadActivationType() |
| Modifier and Type | Method | Description |
|---|---|---|
ActivatorConfigurator |
createConfigurator(TopcatModelInfo tinfo) |
Returns a component that can be used to configure activators of
this type.
|
static void |
download(java.net.URL url,
java.lang.String filename,
java.lang.String dir) |
Copies a remote resource to local storage.
|
java.lang.String |
getDescription() |
Description of this activation type.
|
java.lang.String |
getName() |
Name of this activation type.
|
Suitability |
getSuitability(TopcatModelInfo tinfo) |
Indicates the applicability of this activation type to a given table.
|
public java.lang.String getName()
ActivationTypegetName in interface ActivationTypepublic java.lang.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(java.net.URL url,
java.lang.String filename,
java.lang.String dir)
throws java.io.IOException
url - remote resourcefilename - relative or absolute name of local filedir - directory context for filename; may be nulljava.io.IOExceptionCopyright ? 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.