public class MP3FileReader extends AudioFileReader
logger, MINIMUM_SIZE_FOR_VALID_AUDIO_FILE
Constructor and Description |
---|
MP3FileReader() |
Modifier and Type | Method and Description |
---|---|
protected GenericAudioHeader |
getEncodingInfo(RandomAccessFile raf) |
protected Tag |
getTag(RandomAccessFile raf) |
AudioFile |
read(File f) |
AudioFile |
readMustBeWritable(File f)
Read
|
protected GenericAudioHeader getEncodingInfo(RandomAccessFile raf) throws CannotReadException, IOException
getEncodingInfo
in class AudioFileReader
CannotReadException
IOException
protected Tag getTag(RandomAccessFile raf) throws CannotReadException, IOException
getTag
in class AudioFileReader
CannotReadException
IOException
public AudioFile read(File f) throws IOException, TagException, ReadOnlyFileException, CannotReadException, InvalidAudioFrameException
read
in class AudioFileReader
f
- IOException
TagException
ReadOnlyFileException
CannotReadException
InvalidAudioFrameException
public AudioFile readMustBeWritable(File f) throws IOException, TagException, ReadOnlyFileException, CannotReadException, InvalidAudioFrameException
f
- ReadOnlyFileException
- thrown if the file is not writableTagException
IOException
InvalidAudioFrameException
CannotReadException
Copyright © 2005–2020 jthink.net. All rights reserved.