entagged.audioformats.mp3.util
Class Id3v2TagCreator
java.lang.Object
entagged.audioformats.generic.AbstractTagCreator
entagged.audioformats.mp3.util.Id3v2TagCreator
public class Id3v2TagCreator
- extends AbstractTagCreator
Field Summary |
static int |
DEFAULT_PADDING
Default Padding size, when the tag is created from scratch (the old
cannot be replaced) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PADDING
public static final int DEFAULT_PADDING
- Default Padding size, when the tag is created from scratch (the old
cannot be replaced)
- See Also:
- Constant Field Values
Id3v2TagCreator
public Id3v2TagCreator()
getSyncSafe
public static byte[] getSyncSafe(int value)
- This method will return a so called syncsafe integer with the value of
the given
tempSize
.
- Parameters:
value
- The value to be converted.
- Returns:
- A SyncSafe integer as 32-bit byte array.
create
public void create(Tag tag,
ByteBuffer buf,
List fields,
int tagSize,
int paddingSize)
- Specified by:
create
in class AbstractTagCreator
getCompatibleTag
protected Tag getCompatibleTag(Tag tag)
- Specified by:
getCompatibleTag
in class AbstractTagCreator
getFixedTagLength
protected int getFixedTagLength(Tag tag)
- Specified by:
getFixedTagLength
in class AbstractTagCreator
Copyright © 2007-2008. All Rights Reserved.