public abstract class AbstractID3v1Tag extends AbstractID3Tag
Modifier and Type | Field and Description |
---|---|
protected static byte |
END_OF_FIELD |
protected static Pattern |
endofStringPattern |
protected static int |
FIELD_ALBUM_LENGTH |
protected static int |
FIELD_ALBUM_POS |
protected static int |
FIELD_ARTIST_LENGTH |
protected static int |
FIELD_ARTIST_POS |
protected static int |
FIELD_GENRE_LENGTH |
protected static int |
FIELD_GENRE_POS |
protected static int |
FIELD_TAGID_LENGTH |
protected static int |
FIELD_TAGID_POS |
protected static int |
FIELD_TITLE_LENGTH |
protected static int |
FIELD_TITLE_POS |
protected static int |
FIELD_YEAR_LENGTH |
protected static int |
FIELD_YEAR_POS |
static Logger |
logger |
static String |
TAG |
protected static int |
TAG_DATA_LENGTH |
protected static byte[] |
TAG_ID |
protected static int |
TAG_LENGTH |
protected static String |
TYPE_ALBUM |
protected static String |
TYPE_ARTIST |
protected static String |
TYPE_GENRE |
protected static String |
TYPE_TITLE |
protected static String |
TYPE_YEAR |
TAG_RELEASE
TYPE_TAG
Constructor and Description |
---|
AbstractID3v1Tag() |
AbstractID3v1Tag(AbstractID3v1Tag copyObject) |
Modifier and Type | Method and Description |
---|---|
void |
delete(RandomAccessFile file)
Delete tag from file
Looks for tag and if found lops it off the file.
|
int |
getSize()
Return the size of this tag, the size is fixed for tags of this type
|
static boolean |
seekForV1OrV11Tag(ByteBuffer byteBuffer)
Does a v1tag or a v11tag exist
|
getIdentifier, getLoggingFilename, getMajorVersion, getRelease, getRevision, setLoggingFilename
equals, iterator, seek, write
isSubsetOf, read
public static Logger logger
protected static final byte END_OF_FIELD
protected static Pattern endofStringPattern
public static final String TAG
protected static final byte[] TAG_ID
protected static final int TAG_LENGTH
protected static final int TAG_DATA_LENGTH
protected static final int FIELD_TAGID_LENGTH
protected static final int FIELD_TITLE_LENGTH
protected static final int FIELD_ARTIST_LENGTH
protected static final int FIELD_ALBUM_LENGTH
protected static final int FIELD_YEAR_LENGTH
protected static final int FIELD_GENRE_LENGTH
protected static final int FIELD_TAGID_POS
protected static final int FIELD_TITLE_POS
protected static final int FIELD_ARTIST_POS
protected static final int FIELD_ALBUM_POS
protected static final int FIELD_YEAR_POS
protected static final int FIELD_GENRE_POS
protected static final String TYPE_TITLE
protected static final String TYPE_ARTIST
protected static final String TYPE_ALBUM
protected static final String TYPE_YEAR
protected static final String TYPE_GENRE
public AbstractID3v1Tag()
public AbstractID3v1Tag(AbstractID3v1Tag copyObject)
public int getSize()
getSize
in class AbstractTagItem
public static boolean seekForV1OrV11Tag(ByteBuffer byteBuffer)
public void delete(RandomAccessFile file) throws IOException
delete
in class AbstractTag
file
- to delete the tag fromIOException
- if there was a problem accessing the fileCopyright © 2005–2020 jthink.net. All rights reserved.