public abstract class AbstractWaysToTreeMapper extends Object implements WaysToTreeMapper
Modifier and Type | Field and Description |
---|---|
protected Path |
pathTree |
protected DataTree |
tree |
Constructor and Description |
---|
AbstractWaysToTreeMapper(OsmIterator nodeIterator,
Path pathTree,
Path pathWays,
FileFormat inputFormatWays,
boolean readMetadata) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected void |
finish() |
void |
map() |
void |
prepare() |
protected abstract void |
process(OsmWay way,
Node leaf) |
public AbstractWaysToTreeMapper(OsmIterator nodeIterator, Path pathTree, Path pathWays, FileFormat inputFormatWays, boolean readMetadata)
public void execute() throws IOException
execute
in interface Task
IOException
public void prepare() throws IOException
IOException
public void map() throws IOException
IOException
protected void finish() throws IOException
IOException
protected abstract void process(OsmWay way, Node leaf) throws IOException
IOException