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(java.io.File file,
ProgressMonitor progressMonitor)
Needs to be implemented if isBatchImporter() returns false.
|
acceptFile, activeLayerChange, compareTo, getPriority, importData, importDataHandleExceptions, importDataHandleExceptions, isBatchImporter, isEnabled, layerAdded, layerRemoved, setEnabledpublic 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(java.io.File file, ProgressMonitor progressMonitor) throws java.io.IOException, IllegalDataException
FileImporterimportData in class FileImporterfile - file to importprogressMonitor - progress monitorjava.io.IOException - if any I/O error occursIllegalDataException - if invalid data is readpublic final WMSLayer getWmsLayer()
importData(File, ProgressMonitor)