public abstract class AbstractDataSink extends java.lang.Object implements DataSink
Modifier and Type | Field and Description |
---|---|
protected MediaLocator |
outputLocator |
Constructor and Description |
---|
AbstractDataSink() |
Modifier and Type | Method and Description |
---|---|
void |
addDataSinkListener(DataSinkListener listener) |
MediaLocator |
getOutputLocator() |
protected void |
notifyDataSinkListeners(DataSinkEvent event) |
void |
removeDataSinkListener(DataSinkListener listener) |
void |
setOutputLocator(MediaLocator output) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setSource
getControl, getControls
protected MediaLocator outputLocator
public void addDataSinkListener(DataSinkListener listener)
addDataSinkListener
in interface DataSink
public void removeDataSinkListener(DataSinkListener listener)
removeDataSinkListener
in interface DataSink
protected void notifyDataSinkListeners(DataSinkEvent event)
public void setOutputLocator(MediaLocator output)
setOutputLocator
in interface DataSink
public MediaLocator getOutputLocator()
getOutputLocator
in interface DataSink