public final class ReadOSMFile extends Object implements Serializable
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-07-26 01:01:13 +0200 (Sun, 26 Jul 2015) $, @version $Revision: 1155 $, by $Author: averbraeck $,
initial version 31 dec. 2014
| Constructor and Description |
|---|
ReadOSMFile(String location,
List<OSMTag> wantedTags,
List<String> filteredKeys,
ProgressListener progressListener) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkisReaderThreadDead() |
OSMNetwork |
getNetwork() |
ProgressListener |
getProgressListener() |
void |
setProgressListener(ProgressListener progressListener) |
String |
toString() |
public ReadOSMFile(String location, List<OSMTag> wantedTags, List<String> filteredKeys, ProgressListener progressListener) throws URISyntaxException, FileNotFoundException, MalformedURLException
location - String; the location of the OSM filewantedTags - List<Tag>; the list of wanted tagsfilteredKeys - List<String>; the list of filtered keysprogressListener - ProgressListenerURISyntaxException - when location is not a valid URLFileNotFoundException - when the OSM file can not be foundMalformedURLException - when location is not validpublic boolean checkisReaderThreadDead()
public OSMNetwork getNetwork()
public ProgressListener getProgressListener()
public void setProgressListener(ProgressListener progressListener)
progressListener - set progressListener.Copyright © 2014–2018 Delft University of Technology. All rights reserved.