org.farng.mp3.id3
Class AbstractID3v1
java.lang.Object
org.farng.mp3.AbstractMP3FileItem
org.farng.mp3.AbstractMP3Tag
org.farng.mp3.id3.AbstractID3
org.farng.mp3.id3.AbstractID3v1
- All Implemented Interfaces:
- MP3Tag
- Direct Known Subclasses:
- ID3v1
public abstract class AbstractID3v1
- extends AbstractID3
Superclass for all ID3v1 tags.
- Version:
- $Revision: 3 $
- Author:
- $author$
Method Summary |
void |
append(java.io.RandomAccessFile file)
Appends this tag to the given file. |
void |
overwrite(java.io.RandomAccessFile file)
Overwrites this tag to the given file. |
Methods inherited from class org.farng.mp3.AbstractMP3Tag |
append, delete, equals, isSubsetOf, overwrite, seek, setAlbumTitle, setAuthorComposer, setLeadArtist, setSongComment, setSongGenre, setSongLyric, setSongTitle, setTrackNumberOnAlbum, setYearReleased, write |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractID3v1
protected AbstractID3v1()
- Creates a new AbstractID3v1 object.
AbstractID3v1
protected AbstractID3v1(AbstractID3v1 copyObject)
- Creates a new AbstractID3v1 object.
append
public void append(java.io.RandomAccessFile file)
throws java.io.IOException,
TagException
- Description copied from class:
AbstractMP3Tag
- Appends this tag to the given file. Append means any information this tag contains will be added to the file's
corresponding tag, but it will not replace any fields that the file already has. If the file does not have this
specific tag, a new one will be created.
- Specified by:
append
in class AbstractMP3Tag
- Parameters:
file
- MP3 file to append to.
- Throws:
java.io.IOException
- on any I/O error
TagException
- on any exception generated by this library.
overwrite
public void overwrite(java.io.RandomAccessFile file)
throws java.io.IOException,
TagException
- Description copied from class:
AbstractMP3Tag
- Overwrites this tag to the given file. Overwrite means any information this tag contains will replace any
existing fields in the file's corresponding tag. If the file does not have this specific tag, a new one will be
created.
- Specified by:
overwrite
in class AbstractMP3Tag
- Parameters:
file
- MP3 file to overwrite
- Throws:
java.io.IOException
- on any I/O error
TagException
- on any exception generated by this library.