use of aimax.osm.data.MapBuilder in project aima-java by aimacode.
the class MapViewFrame method readMap.
public void readMap(InputStream stream) {
if (stream != null) {
MapBuilder builder = getMap().getBuilder();
builder.setEntityClassifier(viewInfo);
mapReader.readMap(stream, builder);
builder.buildMap();
} else {
LOG.warning("Map reading failed because input stream does not exist.");
}
}
Aggregations