public abstract class AbstractTag extends AbstractTagItem
Modifier and Type | Field and Description |
---|---|
protected static String |
TYPE_TAG |
logger
Constructor and Description |
---|
AbstractTag() |
AbstractTag(AbstractTag copyObject) |
Modifier and Type | Method and Description |
---|---|
abstract void |
delete(RandomAccessFile file)
Removes the specific tag from the file
|
boolean |
equals(Object obj)
Determines whether another datatype is equal to this tag.
|
abstract Iterator |
iterator() |
abstract boolean |
seek(ByteBuffer byteBuffer)
Looks for this tag in the buffer
|
abstract void |
write(RandomAccessFile file)
Writes the tag to the file
|
getIdentifier, getSize, isSubsetOf, read
protected static final String TYPE_TAG
public AbstractTag()
public AbstractTag(AbstractTag copyObject)
public abstract boolean seek(ByteBuffer byteBuffer)
byteBuffer
- public abstract void write(RandomAccessFile file) throws IOException
file
- IOException
public abstract void delete(RandomAccessFile file) throws IOException
file
- MP3 file to append to.IOException
- on any I/O errorpublic boolean equals(Object obj)
super.equals(obj)
.equals
in class AbstractTagItem
obj
- The object to comparepublic abstract Iterator iterator()
Copyright © 2005–2020 jthink.net. All rights reserved.