|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.merge.v0_6.ChangeAppender
public class ChangeAppender
Combines multiple change sources into a single data set. It is done by writing the contents of each of the input sources to the sink in order.
| Constructor Summary | |
|---|---|
ChangeAppender(int sourceCount)
Creates a new instance. |
|
| Method Summary | |
|---|---|
ChangeSink |
getChangeSink(int instance)
Obtains one of the change sinks exposed by the task. |
int |
getChangeSinkCount()
Returns the number of change sinks provided by this task. |
void |
run()
|
void |
setChangeSink(ChangeSink changeSink)
Sets the change sink to send data to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChangeAppender(int sourceCount)
sourceCount - The number of sources to be appended.| Method Detail |
|---|
public ChangeSink getChangeSink(int instance)
getChangeSink in interface MultiChangeSinkinstance - The index of the change sink to be returned.
public int getChangeSinkCount()
getChangeSinkCount in interface MultiChangeSinkpublic void setChangeSink(ChangeSink changeSink)
setChangeSink in interface ChangeSourcechangeSink - The sink for receiving all produced data.public void run()
run in interface java.lang.Runnable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||