|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openstreetmap.josm.io.FileImporter
org.openstreetmap.josm.io.WMSLayerImporter
public class WMSLayerImporter
Import a WMS layer from a serialized binary file previously exported via WMSLayerExporter.
| Field Summary | |
|---|---|
static ExtensionFileFilter |
FILE_FILTER
The file filter used in "open" and "save" dialogs for WMS layers. |
private WMSLayer |
wmsLayer
|
| Fields inherited from class org.openstreetmap.josm.io.FileImporter |
|---|
filter |
| Constructor Summary | |
|---|---|
WMSLayerImporter()
Constructs a new WMSLayerImporter. |
|
WMSLayerImporter(WMSLayer wmsLayer)
Constructs a new WMSLayerImporter that will import data to the specified WMS layer. |
|
| Method Summary | |
|---|---|
WMSLayer |
getWmsLayer()
Replies the imported WMS layer. |
void |
importData(java.io.File file,
ProgressMonitor progressMonitor)
Needs to be implemented if isBatchImporter() returns false. |
| Methods inherited from class org.openstreetmap.josm.io.FileImporter |
|---|
acceptFile, activeLayerChange, compareTo, getBZip2InputStream, getGZipInputStream, getPriority, importData, importDataHandleExceptions, importDataHandleExceptions, isBatchImporter, isEnabled, layerAdded, layerRemoved, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ExtensionFileFilter FILE_FILTER
private final WMSLayer wmsLayer
| Constructor Detail |
|---|
public WMSLayerImporter()
WMSLayerImporter.
public WMSLayerImporter(WMSLayer wmsLayer)
WMSLayerImporter that will import data to the specified WMS layer.
wmsLayer - The WMS layer.| Method Detail |
|---|
public void importData(java.io.File file,
ProgressMonitor progressMonitor)
throws java.io.IOException,
IllegalDataException
FileImporter
importData in class FileImporterjava.io.IOException
IllegalDataExceptionpublic final WMSLayer getWmsLayer()
importData(File, ProgressMonitor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||