net.sf.fmj.media
Class AbstractDataSink
java.lang.Object
net.sf.fmj.media.AbstractDataSink
- All Implemented Interfaces:
- Controls, DataSink, MediaHandler
- Direct Known Subclasses:
- Handler, Handler, StreamDataSink
public abstract class AbstractDataSink
- extends java.lang.Object
- implements DataSink
Abstract base class to implement DataSink.
- Author:
- Ken Larson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outputLocator
protected MediaLocator outputLocator
AbstractDataSink
public AbstractDataSink()
addDataSinkListener
public void addDataSinkListener(DataSinkListener listener)
- Specified by:
addDataSinkListener
in interface DataSink
removeDataSinkListener
public void removeDataSinkListener(DataSinkListener listener)
- Specified by:
removeDataSinkListener
in interface DataSink
notifyDataSinkListeners
protected void notifyDataSinkListeners(DataSinkEvent event)
setOutputLocator
public void setOutputLocator(MediaLocator output)
- Specified by:
setOutputLocator
in interface DataSink
getOutputLocator
public MediaLocator getOutputLocator()
- Specified by:
getOutputLocator
in interface DataSink