Package de.sfuhrm.radiorecorder.consumer
Class StreamPlayConsumer
java.lang.Object
de.sfuhrm.radiorecorder.consumer.AbstractConsumer
de.sfuhrm.radiorecorder.consumer.MetaDataConsumer
de.sfuhrm.radiorecorder.consumer.StreamPlayConsumer
- All Implemented Interfaces:
Consumer<HttpConnection>
Plays a stream using the Java Media Framework API.
- Author:
- Stephan Fuhrmann
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void__accept(HttpConnection t, InputStream inputStream) The accept method to overwrite by implementing classes.Methods inherited from class de.sfuhrm.radiorecorder.consumer.MetaDataConsumer
_acceptMethods inherited from class de.sfuhrm.radiorecorder.consumer.AbstractConsumer
accept
-
Constructor Details
-
StreamPlayConsumer
Constructor.- Parameters:
consumerContext- the context to work in.
-
-
Method Details
-
__accept
Description copied from class:MetaDataConsumerThe accept method to overwrite by implementing classes.- Specified by:
__acceptin classMetaDataConsumer- Parameters:
t- the http connection being processed.inputStream- the input stream that is processed.
-