com.dusbabek.lib.id3
Class TagHeader_v2_4

java.lang.Object
  extended by com.dusbabek.lib.id3.BasicTagHeader
      extended by com.dusbabek.lib.id3.TagHeader_v2_2
          extended by com.dusbabek.lib.id3.TagHeader_v2_3
              extended by com.dusbabek.lib.id3.TagHeader_v2_4
All Implemented Interfaces:
TagHeader

public class TagHeader_v2_4
extends TagHeader_v2_3

Tag header for ID3v2.4. Doesn't add much to v2.3

To do:
support footers in the reader.

Field Summary
 
Fields inherited from class com.dusbabek.lib.id3.BasicTagHeader
BASIC_TAG_HEADER_LEN
 
Constructor Summary
TagHeader_v2_4(byte[] data, java.io.InputStream in)
          constructs a header from 10 bytes and input stream.
 
Method Summary
protected  ExtendedTagHeader makeExtendedHeader(java.io.InputStream in)
          create an extended header.
 boolean usesFooter()
           
 
Methods inherited from class com.dusbabek.lib.id3.TagHeader_v2_3
getDataSize, setDataSize, sizeOf, usesExperimental, usesExtendedHeader, write
 
Methods inherited from class com.dusbabek.lib.id3.TagHeader_v2_2
usesCompression, usesUnsynchronization
 
Methods inherited from class com.dusbabek.lib.id3.BasicTagHeader
getFlags, getTagSize, getVersion, setTagSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagHeader_v2_4

public TagHeader_v2_4(byte[] data,
                      java.io.InputStream in)
               throws java.io.IOException
constructs a header from 10 bytes and input stream.

Parameters:
data - byte[]
in - InputStream
Throws:
java.io.IOException
Method Detail

makeExtendedHeader

protected ExtendedTagHeader makeExtendedHeader(java.io.InputStream in)
                                        throws java.io.IOException
create an extended header. Extended header formats differ across versions so the implementation of creating them needs to be specific to the header implementations.

Overrides:
makeExtendedHeader in class TagHeader_v2_3
Parameters:
in - InputStream
Returns:
ExtendedTagHeader
Throws:
java.io.IOException

usesFooter

public boolean usesFooter()
Returns:
true if a footer is specified.


Copyright © 2004, 2005 Gary Dusbabek. All Rights Reserved.