A B C D E F G I J L M N P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addTag(IcyTag) - Method in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
adds the tag to the HashMap of tags we have encountered either in-stream or as headers, replacing any previous tag with this name.
- addTagParseListener(TagParseListener) - Method in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
Adds a TagParseListener to be notified when this stream parses MP3Tags.
- addTagParseListener(TagParseListener) - Method in interface javazoom.spi.mpeg.sampled.file.tag.MP3MetadataParser
-
Adds a TagParseListener to be notified when this object parses MP3Tags.
- addTagParseListener(TagParseListener) - Method in class javazoom.spi.mpeg.sampled.file.tag.MP3TagParseSupport
-
Adds a TagParseListener to be notified when a stream parses MP3Tags.
B
- bytesUntilNextMetadata - Variable in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
how many bytes of real data remain before the next block of metadata.
C
- close() - Method in class javazoom.spi.mpeg.sampled.convert.DecodedMpegAudioInputStream
- crlfBuffer - Variable in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
Buffer for readCRLF line...
D
- DEBUG - Static variable in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
- DecodedMpegAudioInputStream - Class in javazoom.spi.mpeg.sampled.convert
-
Main decoder.
- DecodedMpegAudioInputStream(AudioFormat, AudioInputStream) - Constructor for class javazoom.spi.mpeg.sampled.convert.DecodedMpegAudioInputStream
E
- execute() - Method in class javazoom.spi.mpeg.sampled.convert.DecodedMpegAudioInputStream
F
- fireTagParsed(Object, MP3Tag) - Method in class javazoom.spi.mpeg.sampled.file.tag.MP3TagParseSupport
- fireTagParseEvent(TagParseEvent) - Method in class javazoom.spi.mpeg.sampled.file.tag.MP3TagParseSupport
-
Fires the given event to all registered listeners
G
- getAudioFileFormat(File) - Method in class javazoom.spi.mpeg.sampled.file.MpegAudioFileReader
-
Returns AudioFileFormat from File.
- getAudioFileFormat(InputStream, long) - Method in class javazoom.spi.mpeg.sampled.file.MpegAudioFileReader
-
Returns AudioFileFormat from inputstream and medialength.
- getAudioFileFormat(URL) - Method in class javazoom.spi.mpeg.sampled.file.MpegAudioFileReader
-
Returns AudioFileFormat from URL.
- getAudioInputStream(File) - Method in class javazoom.spi.mpeg.sampled.file.MpegAudioFileReader
-
Returns AudioInputStream from file.
- getAudioInputStream(InputStream) - Method in class javazoom.spi.mpeg.sampled.file.MpegAudioFileReader
-
Return the AudioInputStream from the given InputStream.
- getAudioInputStream(URL) - Method in class javazoom.spi.mpeg.sampled.file.MpegAudioFileReader
-
Returns AudioInputStream from url.
- getAudioInputStream(AudioFormat, AudioInputStream) - Method in class javazoom.spi.mpeg.sampled.convert.MpegFormatConversionProvider
- getInstance() - Static method in class javazoom.spi.mpeg.sampled.file.IcyListener
- getLastTag() - Method in class javazoom.spi.mpeg.sampled.file.IcyListener
- getName() - Method in class javazoom.spi.mpeg.sampled.file.tag.MP3Tag
- getStreamTitle() - Method in class javazoom.spi.mpeg.sampled.file.IcyListener
- getStreamUrl() - Method in class javazoom.spi.mpeg.sampled.file.IcyListener
- getTag() - Method in class javazoom.spi.mpeg.sampled.file.tag.TagParseEvent
-
Get the tag that was parsed.
- getTag(String) - Method in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
Get the named tag from the HashMap of headers and in-line tags.
- getTagHash() - Method in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
Returns a HashMap of all headers and in-stream tags parsed so far.
- getTags() - Method in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
Get all tags (headers or in-stream) encountered thus far.
- getTags() - Method in interface javazoom.spi.mpeg.sampled.file.tag.MP3MetadataParser
-
Get all tags (headers or in-stream) encountered thusfar.
- getValue() - Method in class javazoom.spi.mpeg.sampled.file.tag.MP3Tag
- getValueAsString() - Method in class javazoom.spi.mpeg.sampled.file.tag.IcyTag
- getValueAsString() - Method in interface javazoom.spi.mpeg.sampled.file.tag.StringableTag
-
Return the value of this tag as a string.
I
- IcyInputStream - Class in javazoom.spi.mpeg.sampled.file.tag
-
An BufferedInputStream that parses Shoutcast's "icy" metadata from the stream.
- IcyInputStream(InputStream) - Constructor for class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
Reads the initial headers of the stream and adds tags appropriatly.
- IcyInputStream(InputStream, String) - Constructor for class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
IcyInputStream constructor for know meta-interval (Icecast 2)
- IcyListener - Class in javazoom.spi.mpeg.sampled.file
-
This class (singleton) allow to be notified on shoutcast meta data while playing the stream (such as song title).
- IcyTag - Class in javazoom.spi.mpeg.sampled.file.tag
-
A tag parsed from an icecast tag.
- IcyTag(String, String) - Constructor for class javazoom.spi.mpeg.sampled.file.tag.IcyTag
-
Create a new tag, from the parsed name and (String) value.
- INITAL_READ_LENGTH - Static variable in class javazoom.spi.mpeg.sampled.file.MpegAudioFileReader
- INLINE_TAG_SEPARATORS - Static variable in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
inline tags are delimited by ';', also filter out null bytes
- isConversionSupported(AudioFormat, AudioFormat) - Method in class javazoom.spi.mpeg.sampled.convert.MpegFormatConversionProvider
-
Add conversion support for any MpegEncoding source with FrameRate or FrameSize not empty.
J
- javazoom.spi - package javazoom.spi
- javazoom.spi.mpeg.sampled.convert - package javazoom.spi.mpeg.sampled.convert
- javazoom.spi.mpeg.sampled.file - package javazoom.spi.mpeg.sampled.file
- javazoom.spi.mpeg.sampled.file.tag - package javazoom.spi.mpeg.sampled.file.tag
L
- loadShoutcastInfo(InputStream, HashMap) - Method in class javazoom.spi.mpeg.sampled.file.MpegAudioFileReader
-
Load shoutcast (ICY) info.
M
- main(String[]) - Static method in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
Quickie unit-test.
- metaint - Variable in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
value of the "metaint" tag, which tells us how many bytes of real data are between the metadata tags.
- MP3 - Static variable in class javazoom.spi.mpeg.sampled.file.MpegFileFormatType
- MP3MetadataParser - Interface in javazoom.spi.mpeg.sampled.file.tag
-
An object that fires off TagParseEvents as they are parsed from a stream, ServerSocket, or other metadata source
- MP3Tag - Class in javazoom.spi.mpeg.sampled.file.tag
-
An individual piece of mp3 metadata, as a name/value pair.
- MP3Tag(String, Object) - Constructor for class javazoom.spi.mpeg.sampled.file.tag.MP3Tag
- MP3TagParseSupport - Class in javazoom.spi.mpeg.sampled.file.tag
- MP3TagParseSupport() - Constructor for class javazoom.spi.mpeg.sampled.file.tag.MP3TagParseSupport
-
trivial constructor, sets up listeners list.
- MPEG - Static variable in class javazoom.spi.mpeg.sampled.file.MpegFileFormatType
- MPEG1L1 - Static variable in class javazoom.spi.mpeg.sampled.file.MpegEncoding
- MPEG1L2 - Static variable in class javazoom.spi.mpeg.sampled.file.MpegEncoding
- MPEG1L3 - Static variable in class javazoom.spi.mpeg.sampled.file.MpegEncoding
- MPEG2DOT5L1 - Static variable in class javazoom.spi.mpeg.sampled.file.MpegEncoding
- MPEG2DOT5L2 - Static variable in class javazoom.spi.mpeg.sampled.file.MpegEncoding
- MPEG2DOT5L3 - Static variable in class javazoom.spi.mpeg.sampled.file.MpegEncoding
- MPEG2L1 - Static variable in class javazoom.spi.mpeg.sampled.file.MpegEncoding
- MPEG2L2 - Static variable in class javazoom.spi.mpeg.sampled.file.MpegEncoding
- MPEG2L3 - Static variable in class javazoom.spi.mpeg.sampled.file.MpegEncoding
- MpegAudioFileFormat - Class in javazoom.spi.mpeg.sampled.file
- MpegAudioFileFormat(Type, AudioFormat, int, int, Map) - Constructor for class javazoom.spi.mpeg.sampled.file.MpegAudioFileFormat
-
Contructor.
- MpegAudioFileReader - Class in javazoom.spi.mpeg.sampled.file
-
This class implements AudioFileReader for MP3 SPI.
- MpegAudioFileReader() - Constructor for class javazoom.spi.mpeg.sampled.file.MpegAudioFileReader
- MpegAudioFormat - Class in javazoom.spi.mpeg.sampled.file
- MpegAudioFormat(AudioFormat.Encoding, float, int, int, int, float, boolean, Map) - Constructor for class javazoom.spi.mpeg.sampled.file.MpegAudioFormat
-
Constructor.
- MpegEncoding - Class in javazoom.spi.mpeg.sampled.file
-
Encodings used by the MPEG audio decoder.
- MpegEncoding(String) - Constructor for class javazoom.spi.mpeg.sampled.file.MpegEncoding
- MpegFileFormatType - Class in javazoom.spi.mpeg.sampled.file
-
FileFormatTypes used by the MPEG audio decoder.
- MpegFileFormatType(String, String) - Constructor for class javazoom.spi.mpeg.sampled.file.MpegFileFormatType
- MpegFormatConversionProvider - Class in javazoom.spi.mpeg.sampled.convert
-
ConversionProvider for MPEG files.
- MpegFormatConversionProvider() - Constructor for class javazoom.spi.mpeg.sampled.convert.MpegFormatConversionProvider
-
Constructor.
N
P
- parseID3v1Frames(byte[], HashMap) - Method in class javazoom.spi.mpeg.sampled.file.MpegAudioFileReader
-
Parser ID3v1 frames
- parseID3v2Frames(InputStream, HashMap) - Method in class javazoom.spi.mpeg.sampled.file.MpegAudioFileReader
-
Parse ID3v2 frames to add album (TALB), title (TIT2), date (TYER), author (TPE1), copyright (TCOP), comment (COMM) ...
- parseInlineIcyTags(byte[]) - Method in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
Parse metadata from an in-stream "block" of bytes, add a tag for each one.
- parseText(byte[], int, int, int) - Method in class javazoom.spi.mpeg.sampled.file.MpegAudioFileReader
-
Parse Text Frames.
- properties() - Method in class javazoom.spi.mpeg.sampled.convert.DecodedMpegAudioInputStream
-
Return dynamic properties.
- properties() - Method in class javazoom.spi.mpeg.sampled.file.MpegAudioFileFormat
-
MP3 audio file format parameters.
- properties() - Method in class javazoom.spi.mpeg.sampled.file.MpegAudioFormat
-
MP3 audio format parameters.
- properties() - Method in interface javazoom.spi.PropertiesContainer
- PropertiesContainer - Interface in javazoom.spi
R
- read() - Method in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
Reads and returns a single byte.
- read(byte[]) - Method in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
trivial
return read (buf, 0, buf.length)
- read(byte[], int, int) - Method in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
Reads a block of bytes.
- readCRLFLine() - Method in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
Read everything up to the next CRLF, return it as a String.
- readInitialHeaders() - Method in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
Assuming we're at the top of the stream, read lines one by one until we hit a completely blank \r\n.
- readMetadata() - Method in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
Read the next segment of metadata.
- removeTagParseListener(TagParseListener) - Method in class javazoom.spi.mpeg.sampled.file.tag.IcyInputStream
-
Removes a TagParseListener, so it won't be notified when this stream parses MP3Tags.
- removeTagParseListener(TagParseListener) - Method in interface javazoom.spi.mpeg.sampled.file.tag.MP3MetadataParser
-
Removes a TagParseListener, so it won't be notified when this object parses MP3Tags.
- removeTagParseListener(TagParseListener) - Method in class javazoom.spi.mpeg.sampled.file.tag.MP3TagParseSupport
-
Removes a TagParseListener, so it won't be notified when a stream parses MP3Tags.
- reset() - Method in class javazoom.spi.mpeg.sampled.file.IcyListener
-
Reset all properties.
S
- setLastTag(MP3Tag) - Method in class javazoom.spi.mpeg.sampled.file.IcyListener
- setStreamTitle(String) - Method in class javazoom.spi.mpeg.sampled.file.IcyListener
- setStreamUrl(String) - Method in class javazoom.spi.mpeg.sampled.file.IcyListener
- skip(long) - Method in class javazoom.spi.mpeg.sampled.convert.DecodedMpegAudioInputStream
- skipFrames(long) - Method in class javazoom.spi.mpeg.sampled.convert.DecodedMpegAudioInputStream
-
Skip frames.
- StringableTag - Interface in javazoom.spi.mpeg.sampled.file.tag
-
Indicates that the value of a tag is a string, and provides a getValueAsString() method to get it.
T
- tag - Variable in class javazoom.spi.mpeg.sampled.file.tag.TagParseEvent
- tagParsed(TagParseEvent) - Method in class javazoom.spi.mpeg.sampled.convert.DecodedMpegAudioInputStream
- tagParsed(TagParseEvent) - Method in class javazoom.spi.mpeg.sampled.file.IcyListener
- tagParsed(TagParseEvent) - Method in interface javazoom.spi.mpeg.sampled.file.tag.TagParseListener
-
Called when a tag is found (parsed from the stream, received via UDP, etc.)
- TagParseEvent - Class in javazoom.spi.mpeg.sampled.file.tag
-
Event to indicate that an MP3 tag was received through some means (parsed in stream, received via UDP, whatever) and converted into an MP3Tag object.
- TagParseEvent(Object, MP3Tag) - Constructor for class javazoom.spi.mpeg.sampled.file.tag.TagParseEvent
- TagParseListener - Interface in javazoom.spi.mpeg.sampled.file.tag
-
EventListener to be implemented by objects that want to get callbacks when MP3 tags are received.
- toString() - Method in class javazoom.spi.mpeg.sampled.file.tag.MP3Tag
V
- value - Variable in class javazoom.spi.mpeg.sampled.file.tag.MP3Tag
- VERSION - Static variable in class javazoom.spi.mpeg.sampled.file.MpegAudioFileReader
All Classes All Packages