entagged.audioformats.generic
Class AbstractTagCreator
java.lang.Object
entagged.audioformats.generic.AbstractTagCreator
- Direct Known Subclasses:
- ApeTagCreator, Id3v2TagCreator, Mp4TagCreator, OggTagCreator
public abstract class AbstractTagCreator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTagCreator
public AbstractTagCreator()
convert
public ByteBuffer convert(Tag tag)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
convert
public ByteBuffer convert(Tag tag,
int padding)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
createFields
protected List createFields(Tag tag)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
computeTagLength
protected int computeTagLength(Tag tag,
List l)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
getTagLength
public int getTagLength(Tag tag)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
getFixedTagLength
protected abstract int getFixedTagLength(Tag tag)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
getCompatibleTag
protected abstract Tag getCompatibleTag(Tag tag)
create
protected abstract void create(Tag tag,
ByteBuffer buf,
List fields,
int tagSize,
int padding)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
Copyright © 2007-2008. All Rights Reserved.