public class WMSLayerImporter extends FileImporter
WMSLayerExporter
.Modifier and Type | Field and Description |
---|---|
static ExtensionFileFilter |
FILE_FILTER
The file filter used in "open" and "save" dialogs for WMS layers.
|
private WMSLayer |
wmsLayer |
filter
Constructor and Description |
---|
WMSLayerImporter()
Constructs a new
WMSLayerImporter . |
WMSLayerImporter(WMSLayer wmsLayer)
Constructs a new
WMSLayerImporter that will import data to the specified WMS layer. |
Modifier and Type | Method and Description |
---|---|
WMSLayer |
getWmsLayer()
Replies the imported WMS layer.
|
void |
importData(File file,
ProgressMonitor progressMonitor)
Needs to be implemented if isBatchImporter() returns false.
|
acceptFile, activeLayerChange, compareTo, getBZip2InputStream, getGZipInputStream, getPriority, importData, importDataHandleExceptions, importDataHandleExceptions, isBatchImporter, isEnabled, layerAdded, layerRemoved, setEnabled
public static final ExtensionFileFilter FILE_FILTER
public WMSLayerImporter()
WMSLayerImporter
.public WMSLayerImporter(WMSLayer wmsLayer)
WMSLayerImporter
that will import data to the specified WMS layer.wmsLayer
- The WMS layer.public void importData(File file, ProgressMonitor progressMonitor) throws IOException, IllegalDataException
FileImporter
importData
in class FileImporter
IOException
IllegalDataException
public final WMSLayer getWmsLayer()
importData(File, ProgressMonitor)