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

MP3FileWriter

public class MP3FileWriter extends org.jaudiotagger.audio.generic.AudioFileWriter
Write 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
public synchronized voiddelete(org.jaudiotagger.audio.AudioFile af)
Delete the Id3v1 and ID3v2 tags from file

param
af
throws
CannotReadException
throws
CannotWriteException

        ((MP3File)af).setID3v1Tag(null);
        ((MP3File)af).setID3v2Tag(null);                
        af.commit();
    
public voiddeleteTag(org.jaudiotagger.audio.AudioFile f)

        //Because audio file is an instanceof MP3File this directs it to save
        //taking into account if the tag has been sent to null in which case it will be deleted
        f.commit();
    
protected voiddeleteTag(java.io.RandomAccessFile raf, java.io.RandomAccessFile tempRaf)

        throw new RuntimeException("MP3FileReader.getEncodingInfo should be called");
    
public voidwriteFile(org.jaudiotagger.audio.AudioFile f)

        //Because audio file is an instanceof MP3File this directs it to save
        f.commit();
    
protected voidwriteTag(org.jaudiotagger.tag.Tag tag, java.io.RandomAccessFile raf, java.io.RandomAccessFile rafTemp)

        throw new RuntimeException("MP3FileReaderwriteTag should not be called");