org.jaudiotagger.audio.mp3
Class MP3FileReader
java.lang.Object
org.jaudiotagger.audio.generic.AudioFileReader
org.jaudiotagger.audio.mp3.MP3FileReader
public class MP3FileReader
- extends AudioFileReader
Read Mp3 Info (retrofitted to entagged ,done differently to entagged which is why some methods throw RuntimeException)
because done elsewhere
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MP3FileReader
public MP3FileReader()
getEncodingInfo
protected GenericAudioHeader getEncodingInfo(java.io.RandomAccessFile raf)
throws CannotReadException,
java.io.IOException
- Specified by:
getEncodingInfo
in class AudioFileReader
- Throws:
CannotReadException
java.io.IOException
getTag
protected Tag getTag(java.io.RandomAccessFile raf)
throws CannotReadException,
java.io.IOException
- Specified by:
getTag
in class AudioFileReader
- Throws:
CannotReadException
java.io.IOException
read
public AudioFile read(java.io.File f)
throws java.io.IOException,
TagException,
ReadOnlyFileException,
InvalidAudioFrameException
- Overrides:
read
in class AudioFileReader
- Parameters:
f
-
- Returns:
-
- Throws:
java.io.IOException
TagException
ReadOnlyFileException
InvalidAudioFrameException
readMustBeWritable
public AudioFile readMustBeWritable(java.io.File f)
throws java.io.IOException,
TagException,
ReadOnlyFileException,
InvalidAudioFrameException
- Read
- Parameters:
f
-
- Returns:
-
- Throws:
ReadOnlyFileException
- thrown if the file is not writable
TagException
java.io.IOException
InvalidAudioFrameException