|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.tee.v0_5.EntityTee
public class EntityTee
Sends input data to two output destinations.
| Constructor Summary | |
|---|---|
EntityTee(int outputCount)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
complete()
Ensures that all information is fully persisted. |
Source |
getSource(int index)
Retrieves a specific source that can then have a sink attached. |
int |
getSourceCount()
Indicates the number of sources that the task provides. |
void |
process(EntityContainer entityContainer)
Process the entity. |
void |
release()
Performs resource cleanup tasks such as closing files, or database connections. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntityTee(int outputCount)
outputCount - The number of output destinations to write to.| Method Detail |
|---|
public Source getSource(int index)
getSource in interface MultiSourceindex - The index of the source to retrieve.
public int getSourceCount()
getSourceCount in interface MultiSourcepublic void process(EntityContainer entityContainer)
process in interface SinkentityContainer - The entity to be processed.public void complete()
complete in interface Completablepublic void release()
release in interface Releasable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||