org.jaudiotagger.audio.ogg
Class OggVorbisCommentTagCreator

java.lang.Object
  extended by org.jaudiotagger.audio.ogg.OggVorbisCommentTagCreator

public class OggVorbisCommentTagCreator
extends java.lang.Object

Creates an OggVorbis Comment Tag from a VorbisComment for use within an OggVorbis Container

When a Vorbis Comment is used within OggVorbis it additionally has a vorbis header and a framing bit.


Field Summary
private  VorbisCommentCreator creator
           
static int FIELD_FRAMING_BIT_LENGTH
           
static byte FRAMING_BIT_VALID_VALUE
           
static java.util.logging.Logger logger
           
 
Constructor Summary
OggVorbisCommentTagCreator()
           
 
Method Summary
 java.nio.ByteBuffer convert(Tag tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static java.util.logging.Logger logger

FIELD_FRAMING_BIT_LENGTH

public static final int FIELD_FRAMING_BIT_LENGTH
See Also:
Constant Field Values

FRAMING_BIT_VALID_VALUE

public static final byte FRAMING_BIT_VALID_VALUE
See Also:
Constant Field Values

creator

private VorbisCommentCreator creator
Constructor Detail

OggVorbisCommentTagCreator

public OggVorbisCommentTagCreator()
Method Detail

convert

public java.nio.ByteBuffer convert(Tag tag)
                            throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException