A B C D G H I J M N O P R S T V X _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractConsumer - Class in de.sfuhrm.radiorecorder.consumer
-
Base-class for many consumers.
- AbstractConsumer(ConsumerContext) - Constructor for class de.sfuhrm.radiorecorder.consumer.AbstractConsumer
- accept(HttpConnection) - Method in class de.sfuhrm.radiorecorder.consumer.AbstractConsumer
- APACHE_CLIENT_4 - de.sfuhrm.radiorecorder.http.HttpConnectionBuilderFactory.HttpClientType
- APACHE_CLIENT_5 - de.sfuhrm.radiorecorder.http.HttpConnectionBuilderFactory.HttpClientType
- APP_ID - Static variable in class de.sfuhrm.radiorecorder.consumer.StreamCastConsumer
-
The ID of the default media receiver app.
- APPLICATION_OGG - de.sfuhrm.radiorecorder.metadata.MimeType
- APPLICATION_PLS_XML - de.sfuhrm.radiorecorder.metadata.MimeType
- AUDIO_AAC - de.sfuhrm.radiorecorder.metadata.MimeType
- AUDIO_MPEG - de.sfuhrm.radiorecorder.metadata.MimeType
- AUDIO_MPEGURL - de.sfuhrm.radiorecorder.metadata.MimeType
- AUDIO_OGG - de.sfuhrm.radiorecorder.metadata.MimeType
- AUDIO_XMPEGURL - de.sfuhrm.radiorecorder.metadata.MimeType
- AUDIO_XMSWMA - de.sfuhrm.radiorecorder.metadata.MimeType
- AUDIO_XSCPLS - de.sfuhrm.radiorecorder.metadata.MimeType
- AUDIO_XWAV - de.sfuhrm.radiorecorder.metadata.MimeType
B
- BUFFER_SIZE - Static variable in class de.sfuhrm.radiorecorder.RadioRunnable
- build() - Method in interface de.sfuhrm.radiorecorder.http.HttpConnectionBuilder
-
Constructs a connection from this builder.
- byContentType(String) - Static method in enum de.sfuhrm.radiorecorder.metadata.MimeType
-
Finds the mime type by content type.
C
- clone() - Method in class de.sfuhrm.radiorecorder.metadata.MetaData
- close() - Method in interface de.sfuhrm.radiorecorder.http.HttpConnection
- configure(HttpConnectionBuilder) - Method in class de.sfuhrm.radiorecorder.ConnectionHandler
- configureClient(HttpConnectionBuilder) - Method in class de.sfuhrm.radiorecorder.ConnectionHandler
-
Set headers for user client.
- configureIcecast(HttpConnectionBuilder) - Method in class de.sfuhrm.radiorecorder.ConnectionHandler
-
Set headers to motivate Icecast servers to send meta data.
- configureProxy(HttpConnectionBuilder) - Method in class de.sfuhrm.radiorecorder.ConnectionHandler
-
Configure the proxy for the connection.
- configureTimeout(HttpConnectionBuilder) - Method in class de.sfuhrm.radiorecorder.ConnectionHandler
-
Configure the timeout for the connection.
- ConnectionHandler - Class in de.sfuhrm.radiorecorder
-
Handles a single
HttpConnectionto an internet radio. - ConnectionHandler(ConsumerContext) - Constructor for class de.sfuhrm.radiorecorder.ConnectionHandler
- consume(URL) - Method in class de.sfuhrm.radiorecorder.ConnectionHandler
-
Consumes the given URL.
- ConsumerContext - Class in de.sfuhrm.radiorecorder
-
Immutable context common to all consumers.
- ConsumerContext(int, Radio, Params) - Constructor for class de.sfuhrm.radiorecorder.ConsumerContext
D
- de.sfuhrm.radiorecorder - package de.sfuhrm.radiorecorder
-
A Internet radio recorder program.
- de.sfuhrm.radiorecorder.consumer - package de.sfuhrm.radiorecorder.consumer
-
Consumer classes for
HttpConnections. - de.sfuhrm.radiorecorder.http - package de.sfuhrm.radiorecorder.http
-
HTTP protocol client implementation adapters.
- de.sfuhrm.radiorecorder.metadata - package de.sfuhrm.radiorecorder.metadata
-
Stream metadata interception classes.
G
- getAbortAfter() - Method in class de.sfuhrm.radiorecorder.ConsumerContext
-
Get the amount of bytes after which to abort.
- getCastReceiver() - Method in class de.sfuhrm.radiorecorder.ConsumerContext
-
The cast device to cast to.
- getContentType() - Method in interface de.sfuhrm.radiorecorder.http.HttpConnection
-
Get the content type of the stream.
- getHeaderFields() - Method in interface de.sfuhrm.radiorecorder.http.HttpConnection
-
Get the response header fields from the HTTP server.
- getHttpClient() - Method in class de.sfuhrm.radiorecorder.ConsumerContext
-
The client type to use.
- getInputStream() - Method in interface de.sfuhrm.radiorecorder.http.HttpConnection
-
Get the input stream reading the HTTP response body.
- getMinFree() - Method in class de.sfuhrm.radiorecorder.ConsumerContext
-
Get minimum free bytes.
- getMixerInfo() - Method in class de.sfuhrm.radiorecorder.ConsumerContext
-
The mixer to play on.
- getProxy() - Method in class de.sfuhrm.radiorecorder.ConsumerContext
-
The HTTP proxy to use or NULL.
- getResponseCode() - Method in interface de.sfuhrm.radiorecorder.http.HttpConnection
-
Get the HTTP server response code.
- getResponseMessage() - Method in interface de.sfuhrm.radiorecorder.http.HttpConnection
-
Get the HTTP server response status message.
- getTargetDirectory() - Method in class de.sfuhrm.radiorecorder.ConsumerContext
-
Get the directory to write files to.
- getTimeout() - Method in class de.sfuhrm.radiorecorder.ConsumerContext
-
Get the read/connect timeout in millis.
- getURL() - Method in interface de.sfuhrm.radiorecorder.http.HttpConnection
-
Get the URL being associated to this connection.
- GITHUB_URL - Static variable in class de.sfuhrm.radiorecorder.Main
H
- HttpConnection - Interface in de.sfuhrm.radiorecorder.http
-
Wrapper for an open HTTP protocol connection.
- HttpConnectionBuilder - Interface in de.sfuhrm.radiorecorder.http
-
Configures an HttpConnection.
- HttpConnectionBuilderFactory - Class in de.sfuhrm.radiorecorder.http
-
Configures an URLConnection.
- HttpConnectionBuilderFactory(HttpConnectionBuilderFactory.HttpClientType) - Constructor for class de.sfuhrm.radiorecorder.http.HttpConnectionBuilderFactory
- HttpConnectionBuilderFactory.HttpClientType - Enum in de.sfuhrm.radiorecorder.http
I
- isPlaying() - Method in class de.sfuhrm.radiorecorder.ConsumerContext
-
Whether to play or store.
- isReconnect() - Method in class de.sfuhrm.radiorecorder.ConsumerContext
-
Reconnect forever.
- isSongNames() - Method in class de.sfuhrm.radiorecorder.ConsumerContext
-
Whether to name the files after the metadata retrieved.
J
- JAVA_NET - de.sfuhrm.radiorecorder.http.HttpConnectionBuilderFactory.HttpClientType
M
- M3UConsumer - Class in de.sfuhrm.radiorecorder.consumer
-
Consumer for M3U playlist format URLs.
- M3UConsumer(ConsumerContext) - Constructor for class de.sfuhrm.radiorecorder.consumer.M3UConsumer
- main(String[]) - Static method in class de.sfuhrm.radiorecorder.Main
- Main - Class in de.sfuhrm.radiorecorder
-
The main class that gets executed from command line.
- Main() - Constructor for class de.sfuhrm.radiorecorder.Main
- MetaData - Class in de.sfuhrm.radiorecorder.metadata
-
The tuple of metadata.
- MetaData() - Constructor for class de.sfuhrm.radiorecorder.metadata.MetaData
- MetaDataConsumer - Class in de.sfuhrm.radiorecorder.consumer
-
Opens a stream and intercepts possible meta data information.
- MetaDataConsumer(ConsumerContext) - Constructor for class de.sfuhrm.radiorecorder.consumer.MetaDataConsumer
- MimeType - Enum in de.sfuhrm.radiorecorder.metadata
-
Mime types for use in the application.
N
- newInstance(URL) - Method in class de.sfuhrm.radiorecorder.http.HttpConnectionBuilderFactory
- NS - Static variable in class de.sfuhrm.radiorecorder.consumer.XSPFConsumer
O
- openStream(HttpConnection) - Method in class de.sfuhrm.radiorecorder.metadata.StreamMetaData
P
- Params - Class in de.sfuhrm.radiorecorder
-
The command line parameters as a POJO.
- Params() - Constructor for class de.sfuhrm.radiorecorder.Params
- parse(String[]) - Static method in class de.sfuhrm.radiorecorder.Params
-
Parse the command line options.
- PLSConsumer - Class in de.sfuhrm.radiorecorder.consumer
-
Consumer for PLS playlist format URLs.
- PLSConsumer(ConsumerContext) - Constructor for class de.sfuhrm.radiorecorder.consumer.PLSConsumer
- PREFIX - Static variable in class de.sfuhrm.radiorecorder.consumer.XSPFConsumer
- PROJECT - Static variable in class de.sfuhrm.radiorecorder.Main
R
- Radio - Class in de.sfuhrm.radiorecorder
-
An internet radio station for use within the application.
- Radio() - Constructor for class de.sfuhrm.radiorecorder.Radio
- RadioException - Exception in de.sfuhrm.radiorecorder
-
Application internal exception.
- RadioException(boolean, Throwable) - Constructor for exception de.sfuhrm.radiorecorder.RadioException
- RadioRunnable - Class in de.sfuhrm.radiorecorder
-
Runnable for one radio station stream given in the command line.
- RadioRunnable(ConsumerContext) - Constructor for class de.sfuhrm.radiorecorder.RadioRunnable
- run() - Method in class de.sfuhrm.radiorecorder.RadioRunnable
S
- setConnectTimeout(int) - Method in interface de.sfuhrm.radiorecorder.http.HttpConnectionBuilder
-
Configures the timeout for connecting to the server.
- setProxy(URL) - Method in interface de.sfuhrm.radiorecorder.http.HttpConnectionBuilder
-
Sets the HTTP/HTTPS proxy to use.
- setReadTimeout(int) - Method in interface de.sfuhrm.radiorecorder.http.HttpConnectionBuilder
-
Configures the timeout for reading from the server.
- setRequestProperty(String, String) - Method in interface de.sfuhrm.radiorecorder.http.HttpConnectionBuilder
-
Adds a HTTP request header field to the request.
- StreamCastConsumer - Class in de.sfuhrm.radiorecorder.consumer
-
Plays a stream using a named Chrome Cast device.
- StreamCastConsumer(ConsumerContext) - Constructor for class de.sfuhrm.radiorecorder.consumer.StreamCastConsumer
- StreamCopyConsumer - Class in de.sfuhrm.radiorecorder.consumer
-
Copies a stream to one or multiple disk files.
- StreamCopyConsumer(ConsumerContext) - Constructor for class de.sfuhrm.radiorecorder.consumer.StreamCopyConsumer
- StreamMetaData - Class in de.sfuhrm.radiorecorder.metadata
-
The meta data collected from a running stream.
- StreamMetaData() - Constructor for class de.sfuhrm.radiorecorder.metadata.StreamMetaData
- StreamPlayConsumer - Class in de.sfuhrm.radiorecorder.consumer
-
Plays a stream using the Java Media Framework API.
- StreamPlayConsumer(ConsumerContext) - Constructor for class de.sfuhrm.radiorecorder.consumer.StreamPlayConsumer
T
- toString() - Method in class de.sfuhrm.radiorecorder.metadata.MetaData
V
- valueOf(String) - Static method in enum de.sfuhrm.radiorecorder.http.HttpConnectionBuilderFactory.HttpClientType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.sfuhrm.radiorecorder.metadata.MimeType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum de.sfuhrm.radiorecorder.http.HttpConnectionBuilderFactory.HttpClientType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum de.sfuhrm.radiorecorder.metadata.MimeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
X
- XSPFConsumer - Class in de.sfuhrm.radiorecorder.consumer
-
Consumer for XSPF playlist format URLs.
- XSPFConsumer(ConsumerContext) - Constructor for class de.sfuhrm.radiorecorder.consumer.XSPFConsumer
_
- __accept(HttpConnection, InputStream) - Method in class de.sfuhrm.radiorecorder.consumer.MetaDataConsumer
- __accept(HttpConnection, InputStream) - Method in class de.sfuhrm.radiorecorder.consumer.StreamCastConsumer
- __accept(HttpConnection, InputStream) - Method in class de.sfuhrm.radiorecorder.consumer.StreamCopyConsumer
- __accept(HttpConnection, InputStream) - Method in class de.sfuhrm.radiorecorder.consumer.StreamPlayConsumer
- _accept(HttpConnection) - Method in class de.sfuhrm.radiorecorder.consumer.AbstractConsumer
-
The inner accept implementation.
- _accept(HttpConnection) - Method in class de.sfuhrm.radiorecorder.consumer.M3UConsumer
- _accept(HttpConnection) - Method in class de.sfuhrm.radiorecorder.consumer.MetaDataConsumer
- _accept(HttpConnection) - Method in class de.sfuhrm.radiorecorder.consumer.PLSConsumer
- _accept(HttpConnection) - Method in class de.sfuhrm.radiorecorder.consumer.XSPFConsumer
All Classes All Packages