Package org.apache.tika.parser.mp3
Class ID3v2Frame
java.lang.Object
org.apache.tika.parser.mp3.ID3v2Frame
- All Implemented Interfaces:
MP3Frame
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
A frame of ID3v2 data, which is then passed to a handler to
be turned into useful data.
-
Method Summary
Modifier and TypeMethodDescriptionstatic MP3FrameDeprecated.Returns the next ID3v2 Frame in the file, or null if the next batch of data doesn't correspond to either an ID3v2 header.byte[]getData()Deprecated.byte[]Deprecated.intgetFlags()Deprecated.intDeprecated.intDeprecated.intDeprecated.
-
Method Details
-
getMajorVersion
public int getMajorVersion()Deprecated. -
getMinorVersion
public int getMinorVersion()Deprecated. -
getFlags
public int getFlags()Deprecated. -
getLength
public int getLength()Deprecated. -
getExtendedHeader
public byte[] getExtendedHeader()Deprecated. -
getData
public byte[] getData()Deprecated. -
createFrameIfPresent
Deprecated.Returns the next ID3v2 Frame in the file, or null if the next batch of data doesn't correspond to either an ID3v2 header. If no ID3v2 frame could be detected and the passed in input stream is aPushbackInputStream, the bytes read so far are pushed back so that they can be read again. ID3v2 Frames should come before all Audio ones.- Throws:
IOException
-