public class ThreadedWaysDistributor extends AbstractWaysDistributor
outputsNodes, outputsWays, stopped
Constructor and Description |
---|
ThreadedWaysDistributor(Path pathTree,
String fileNamesNodes1,
String fileNamesNodes2,
String fileNamesWays,
String fileNamesOutputWays,
String fileNamesOutputNodes,
FileFormat inputFormatNodes,
FileFormat inputFormatWays,
OsmOutputConfig outputConfig) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected void |
leafData(LeafData leafData) |
protected void |
write(Node leaf,
OsmWay way,
TLongObjectMap<OsmNode> nodes) |
build, distribute, finish, prepare
public ThreadedWaysDistributor(Path pathTree, 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
execute
in class AbstractWaysDistributor
IOException
protected void leafData(LeafData leafData) throws IOException
leafData
in class AbstractWaysDistributor
IOException
protected void write(Node leaf, OsmWay way, TLongObjectMap<OsmNode> nodes) throws IOException
write
in class AbstractWaysDistributor
IOException