Package de.sfuhrm.radiorecorder.consumer
Klasse AbstractConsumer
java.lang.Object
de.sfuhrm.radiorecorder.consumer.AbstractConsumer
- Alle implementierten Schnittstellen:
Consumer<HttpConnection>
- Bekannte direkte Unterklassen:
M3UConsumer,MetaDataConsumer,PLSConsumer,XSPFConsumer
Base-class for many consumers.
Subclasses need to implement
_accept(de.sfuhrm.radiorecorder.http.HttpConnection).- Autor:
- Stephan Fuhrmann
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungAbstractConsumer(@NonNull ConsumerContext context) Constructor for AbstractConsumer. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected abstract voidThe inner accept implementation.final void
-
Konstruktordetails
-
AbstractConsumer
Constructor for AbstractConsumer.- Parameter:
context- the context to provide to the subclasses via the accessor. Must be non-null.- Löst aus:
NullPointerException- if context is null.
-
-
Methodendetails
-
accept
- Angegeben von:
acceptin SchnittstelleConsumer<HttpConnection>
-
_accept
The inner accept implementation. Will get called after applying configuration to the HttpConnection passed in.- Parameter:
u- the connection to process.
-