public class MP3FileWriter extends AudioFileWriter
logger
Constructor and Description |
---|
MP3FileWriter() |
Modifier and Type | Method and Description |
---|---|
void |
delete(AudioFile af)
Delete the Id3v1 and ID3v2 tags from file
|
void |
deleteTag(AudioFile f) |
protected void |
deleteTag(java.io.RandomAccessFile raf,
java.io.RandomAccessFile tempRaf)
Same as above, but delete tag in the file.
|
void |
writeFile(AudioFile f) |
protected void |
writeTag(Tag tag,
java.io.RandomAccessFile raf,
java.io.RandomAccessFile rafTemp)
This is called when a tag has to be written in a file.
|
delete, setAudioFileModificationListener, write
public void deleteTag(AudioFile f) throws CannotWriteException
CannotWriteException
public void writeFile(AudioFile f) throws CannotWriteException
CannotWriteException
public void delete(AudioFile af) throws CannotReadException, CannotWriteException
delete
in class AudioFileWriter
af
- CannotReadException
CannotWriteException
protected void writeTag(Tag tag, java.io.RandomAccessFile raf, java.io.RandomAccessFile rafTemp) throws CannotWriteException, java.io.IOException
AudioFileWriter
writeTag
in class AudioFileWriter
CannotWriteException
- when an error occured during the generation of the tagjava.io.IOException
- is thrown when the RandomAccessFile operations throw it (you
should never throw them manually)protected void deleteTag(java.io.RandomAccessFile raf, java.io.RandomAccessFile tempRaf) throws CannotWriteException, java.io.IOException
AudioFileWriter
deleteTag
in class AudioFileWriter
CannotWriteException
- when an error occured during the deletion of the tagjava.io.IOException
- is thrown when the RandomAccessFile operations throw it (you
should never throw them manually)Copyright © 2005-2013 java.net. All Rights Reserved.