FileDocCategorySizeDatePackage
MP3FileReader.javaAPI DocJaudiotagger 2.0.42136Wed Mar 30 16:11:42 BST 2011org.jaudiotagger.audio.mp3

MP3FileReader

public class MP3FileReader extends org.jaudiotagger.audio.generic.AudioFileReader
Read Mp3 Info (retrofitted to entagged ,done differently to entagged which is why some methods throw RuntimeException) because done elsewhere

Fields Summary
Constructors Summary
Methods Summary
protected org.jaudiotagger.audio.generic.GenericAudioHeadergetEncodingInfo(java.io.RandomAccessFile raf)

        throw new RuntimeException("MP3FileReader.getEncodingInfo should be called");
    
protected org.jaudiotagger.tag.TaggetTag(java.io.RandomAccessFile raf)

        throw new RuntimeException("MP3FileReader.getEncodingInfo should be called");
    
public org.jaudiotagger.audio.AudioFileread(java.io.File f)

param
f
return

        MP3File mp3File = new MP3File(f, MP3File.LOAD_IDV1TAG | MP3File.LOAD_IDV2TAG, true);
        return mp3File;
    
public org.jaudiotagger.audio.AudioFilereadMustBeWritable(java.io.File f)
Read

param
f
return
throws
ReadOnlyFileException thrown if the file is not writable
throws
org.jaudiotagger.tag.TagException
throws
java.io.IOException
throws
org.jaudiotagger.audio.exceptions.InvalidAudioFrameException

        MP3File mp3File = new MP3File(f, MP3File.LOAD_IDV1TAG | MP3File.LOAD_IDV2TAG, false);
        return mp3File;