Index

A B C D G H I J L M N O P R S T V X _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AACClassLoaderHelper - Class in de.sfuhrm.radiorecorder.aachelper
Provides classloaders loading the AAC classes for the AudioSystem.
AACClassLoaderHelper() - Constructor for class de.sfuhrm.radiorecorder.aachelper.AACClassLoaderHelper
 
AbstractConsumer - Class in de.sfuhrm.radiorecorder.consumer
Base-class for many consumers.
AbstractConsumer(ConsumerContext) - Constructor for class de.sfuhrm.radiorecorder.consumer.AbstractConsumer
Constructor for AbstractConsumer.
accept(HttpConnection) - Method in class de.sfuhrm.radiorecorder.consumer.AbstractConsumer
 
APACHE_CLIENT_5 - Enum constant in enum class de.sfuhrm.radiorecorder.http.HttpConnectionBuilderFactory.HttpClientType
Apache Httpcomponents HttpClient 5.x.
APP_ID - Static variable in class de.sfuhrm.radiorecorder.consumer.StreamCastConsumer
The ID of the default media receiver app.
APPLICATION_OGG - Enum constant in enum class de.sfuhrm.radiorecorder.metadata.MimeType
MIME type for application/ogg.
APPLICATION_PLS_XML - Enum constant in enum class de.sfuhrm.radiorecorder.metadata.MimeType
MIME type for application/pls+xml.
AUDIO_AAC - Enum constant in enum class de.sfuhrm.radiorecorder.metadata.MimeType
MIME type for audio/aac, audio/aacp or audio/mp4.
AUDIO_MPEG - Enum constant in enum class de.sfuhrm.radiorecorder.metadata.MimeType
MIME type for audio/mpeg.
AUDIO_MPEGURL - Enum constant in enum class de.sfuhrm.radiorecorder.metadata.MimeType
MIME type for audio/mpegurl.
AUDIO_OGG - Enum constant in enum class de.sfuhrm.radiorecorder.metadata.MimeType
MIME type for audio/ogg.
AUDIO_XMPEGURL - Enum constant in enum class de.sfuhrm.radiorecorder.metadata.MimeType
MIME type for audio/x-mpegurl.
AUDIO_XMSWMA - Enum constant in enum class de.sfuhrm.radiorecorder.metadata.MimeType
MIME type for audio/x-ms-wma.
AUDIO_XSCPLS - Enum constant in enum class de.sfuhrm.radiorecorder.metadata.MimeType
MIME type for audio/x-scpls.
AUDIO_XWAV - Enum constant in enum class de.sfuhrm.radiorecorder.metadata.MimeType
MIME type for audio/x-wav.

B

BUFFER_SIZE - Static variable in class de.sfuhrm.radiorecorder.RadioRunnable
The buffer size in bytes to use for the consumers.
build() - Method in interface de.sfuhrm.radiorecorder.http.HttpConnectionBuilder
Constructs a connection from this builder.
byContentType(String) - Static method in enum class 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
Configures the builder with the configuration from the ConnectionHandler.consumerContext.
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 HttpConnection to an internet radio.
ConnectionHandler(ConsumerContext) - Constructor for class de.sfuhrm.radiorecorder.ConnectionHandler
Constructor for ConnectionHandler.
consume(URI) - 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
Constructor for a consumer context.

D

de.sfuhrm.radiorecorder - package de.sfuhrm.radiorecorder
An Internet radio recorder program.
de.sfuhrm.radiorecorder.aachelper - package de.sfuhrm.radiorecorder.aachelper
 
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

getAbortAfterDuration() - Method in class de.sfuhrm.radiorecorder.ConsumerContext
Get the amount of bytes after which to abort.
getAbortAfterFileLength() - 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.
getNoSongnameFormat() - Method in class de.sfuhrm.radiorecorder.ConsumerContext
The format of the files to generate.
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.
getSongnameFormat() - Method in class de.sfuhrm.radiorecorder.ConsumerContext
The format of the files to generate.
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.
getURI() - 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
The URL of the GitHub project.

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
Constructor.
HttpConnectionBuilderFactory.HttpClientType - Enum Class in de.sfuhrm.radiorecorder.http
Multiple types of http clients this program offers.

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 - Enum constant in enum class de.sfuhrm.radiorecorder.http.HttpConnectionBuilderFactory.HttpClientType
Built-in JDK java.net HTTP connection.

L

loadPluginClassLoader() - Static method in class de.sfuhrm.radiorecorder.aachelper.AACClassLoaderHelper
 

M

M3UConsumer - Class in de.sfuhrm.radiorecorder.consumer
Consumer for M3U playlist format URLs.
M3UConsumer(ConsumerContext) - Constructor for class de.sfuhrm.radiorecorder.consumer.M3UConsumer
Constructor.
main(String[]) - Static method in class de.sfuhrm.radiorecorder.Main
Main method of the program.
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 media metadata.
MetaData() - Constructor for class de.sfuhrm.radiorecorder.metadata.MetaData
Constructs a metadata objects with created timestamp now and all other fields Optional.empty().
MetaDataConsumer - Class in de.sfuhrm.radiorecorder.consumer
Opens a stream and intercepts possible metadata information.
MetaDataConsumer(ConsumerContext) - Constructor for class de.sfuhrm.radiorecorder.consumer.MetaDataConsumer
Constructor.
MimeType - Enum Class in de.sfuhrm.radiorecorder.metadata
Mime types for use in the application.

N

newInstance(URI) - Method in class de.sfuhrm.radiorecorder.http.HttpConnectionBuilderFactory
Creates a new client of the type configured in the type.
NO_RADIO_NAME - Static variable in class de.sfuhrm.radiorecorder.Main
 

O

openStream(HttpConnection) - Method in class de.sfuhrm.radiorecorder.metadata.StreamMetaData
Opens the input stream of the http connection.

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
Constructor.
PROJECT - Static variable in class de.sfuhrm.radiorecorder.Main
The name of the application.

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 Class in de.sfuhrm.radiorecorder
Application internal exception.
RadioException(boolean, Throwable) - Constructor for exception class de.sfuhrm.radiorecorder.RadioException
Constructor for a 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
Constructor.
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(URI) - 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 an 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
Constructor.
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
Constructor.
StreamMetaData - Class in de.sfuhrm.radiorecorder.metadata
The metadata 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
Constructor.

T

toMillis(String) - Static method in class de.sfuhrm.radiorecorder.Params
Convert the textual duration towards a millisecond duration.
toString() - Method in class de.sfuhrm.radiorecorder.metadata.MetaData
 

V

valueOf(String) - Static method in enum class de.sfuhrm.radiorecorder.http.HttpConnectionBuilderFactory.HttpClientType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.sfuhrm.radiorecorder.metadata.MimeType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class de.sfuhrm.radiorecorder.http.HttpConnectionBuilderFactory.HttpClientType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.sfuhrm.radiorecorder.metadata.MimeType
Returns an array containing the constants of this enum class, 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
Constructor.

_

__accept(HttpConnection, InputStream) - Method in class de.sfuhrm.radiorecorder.consumer.MetaDataConsumer
The accept method to overwrite by implementing classes.
__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
 
A B C D G H I J L M N O P R S T V X _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form