Class SessionImporter
- java.lang.Object
-
- org.openstreetmap.josm.gui.io.importexport.FileImporter
-
- org.openstreetmap.josm.io.session.SessionImporter
-
- All Implemented Interfaces:
java.lang.Comparable<FileImporter>
public class SessionImporter extends FileImporter
File importer allowing to import session files (*.jos/joz files).- Since:
- 6245
-
-
Field Summary
Fields Modifier and Type Field Description static ExtensionFileFilter
FILE_FILTER
The file filter used to load JOSM session files-
Fields inherited from class org.openstreetmap.josm.gui.io.importexport.FileImporter
filter, options
-
-
Constructor Summary
Constructors Constructor Description SessionImporter()
Constructs a newSessionImporter
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
importData(java.io.File file, ProgressMonitor progressMonitor)
Needs to be implemented if isBatchImporter() returns false.-
Methods inherited from class org.openstreetmap.josm.gui.io.importexport.FileImporter
acceptFile, compareTo, getPriority, importData, importDataHandleExceptions, importDataHandleExceptions, isBatchImporter, isEnabled, setEnabled, setOptions
-
-
-
-
Field Detail
-
FILE_FILTER
public static final ExtensionFileFilter FILE_FILTER
The file filter used to load JOSM session files
-
-
Constructor Detail
-
SessionImporter
public SessionImporter()
Constructs a newSessionImporter
.
-
-
Method Detail
-
importData
public void importData(java.io.File file, ProgressMonitor progressMonitor) throws java.io.IOException, IllegalDataException
Description copied from class:FileImporter
Needs to be implemented if isBatchImporter() returns false.- Overrides:
importData
in classFileImporter
- Parameters:
file
- file to importprogressMonitor
- progress monitor- Throws:
java.io.IOException
- if any I/O error occursIllegalDataException
- if invalid data is read
-
-