Package de.sfuhrm.radiorecorder.metadata
Class StreamMetaData
java.lang.Object
de.sfuhrm.radiorecorder.metadata.StreamMetaData
The metadata collected from a running stream.
- Author:
- Stephan Fuhrmann
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionopenStream(@NonNull HttpConnection connection) Opens the input stream of the http connection.
-
Constructor Details
-
StreamMetaData
public StreamMetaData()
-
-
Method Details
-
openStream
Opens the input stream of the http connection. Internally filters the stream and pushes all new metadata objects seen to the registered metadata consumer.- Parameters:
connection- the non-null http connection to open the stream for.- Returns:
- the inputstream that reads data from the source the HttpConnection provides.
- Throws:
IOException- if a problem occurs while opening the stream.- See Also:
-