org.osm2world.core.osm.creation
public class OSMFileReader extends Object implements OSMDataReader
getData()
call, there will be no updates when the file is
changed later. This class internally uses Osmosis to read the file.
At its core, this reader combines the capabilities of the OSMFileReader
and the JOSMFileReader
.Constructor and Description |
---|
OSMFileReader(File file) |
Modifier and Type | Method and Description |
---|---|
OSMData |
getData() |
File |
getFile() |
static boolean |
isJOSMGenerated(File file)
Returns true if the file was identified as being generated by JOSM.
|
public OSMFileReader(File file) throws FileNotFoundException
FileNotFoundException
public File getFile()
public OSMData getData() throws IOException
getData
in interface OSMDataReader
IOException
public static final boolean isJOSMGenerated(File file)