public abstract class AbstractWaysDistributor extends Objectimplements WaysDistributor
| Modifier and Type | Field and Description |
|---|---|
protected Map |
outputsNodes
|
protected Map |
outputsWays
|
protected boolean |
stopped
|
| Constructor and Description |
|---|
AbstractWaysDistributor(Path
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
build(Node
|
protected void |
distribute()
|
void |
execute()
|
protected void |
finish()
|
protected abstract void |
leafData(LeafData
|
protected void |
prepare()
|
protected abstract void |
write(Node
|
protected Map<Node ,OsmStreamOutput > outputsWays
protected Map<Node ,OsmStreamOutput > outputsNodes
protected boolean stopped
public AbstractWaysDistributor(PathpathTree, String fileNamesNodes1, String fileNamesNodes2, String fileNamesWays, String fileNamesOutputWays, String fileNamesOutputNodes, FileFormat inputFormatNodes, FileFormat inputFormatWays, OsmOutputConfig outputConfig)
public void execute()
throws IOException
execute in interface
Task
IOException
protected void prepare()
throws IOException
IOException
protected void finish()
throws IOException
IOException
protected abstract void leafData(LeafDataleafData) throws IOException
IOException
protected abstract void write(Nodeleaf, OsmWay way, TLongObjectMap <OsmNode > nodes) throws IOException
IOException
protected void distribute()
throws IOException
IOException
protected void build(Nodeleaf, OsmWay way, OsmEntityProvider entityProvider) throws IOException
IOException