org.jaudiotagger.audio.ogg
Class OggVorbisTagReader.OggVorbisHeaderSizes

java.lang.Object
  extended by org.jaudiotagger.audio.ogg.OggVorbisTagReader.OggVorbisHeaderSizes
Enclosing class:
OggVorbisTagReader

public static class OggVorbisTagReader.OggVorbisHeaderSizes
extends java.lang.Object

Find the length of the raw packet data and the start position of the ogg page header they start in for the two OggVorbisHeader we need to know about when writing data (sizes included vorbis header)


Method Summary
 int getCommentHeaderSize()
           
 long getCommentHeaderStartPosition()
           
 int getSetupHeaderSize()
           
 long getSetupHeaderStartPosition()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCommentHeaderSize

public int getCommentHeaderSize()
Returns:
the size of the raw packet data for the vorbis comment header (includes vorbis header)

getSetupHeaderSize

public int getSetupHeaderSize()
Returns:
he size of the raw packet data for the vorbis setup header (includes vorbis header)

getCommentHeaderStartPosition

public long getCommentHeaderStartPosition()
Returns:
the start position in the file of the ogg header which contains the start of the Vorbis Comment

getSetupHeaderStartPosition

public long getSetupHeaderStartPosition()
Returns:
the start position in the file of the ogg header which contains the start of the Setup Header