|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--helliker.id3.ID3v2ExtendedHeader
Constructor Summary | |
ID3v2ExtendedHeader(java.io.File mp3)
Create an extended header object from the file passed. |
Method Summary | |
byte[] |
getBytes()
Return an array of bytes representing this extended header in the standard format to be written to a file. |
byte[] |
getCRC()
If there is crc data in the extended header, then the attached 5 byte crc will be returned. |
boolean |
getCRCed()
Returns true if CRC information is provided for this tag |
boolean |
getImageEncode()
Returns true if the image encode flag is set |
int |
getImageRestriction()
Returns the value of the image restriction field or -1 if not set |
int |
getMaxFrames()
Returns the maximum number of frames if set. |
int |
getMaxTagSize()
Returns the maximum tag size or -1 if unset |
int |
getMaxTextSize()
Returns the maximum length of a string if set or -1 |
int |
getNumFlagBytes()
Returns the number of extended flag bytes |
int |
getSize()
Returns the size of the extended header |
boolean |
getTextEncode()
Returns true if the text encode flag is set |
boolean |
getUpdate()
Returns true if this tag is an update of a previous tag |
java.lang.String |
toString()
Returns a string representation of this object that contains all information within. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ID3v2ExtendedHeader(java.io.File mp3) throws java.io.FileNotFoundException, java.io.IOException, ID3v2FormatException
mp3
- the file to read/write to
java.io.FileNotFoundException
- if an error occurs
java.io.IOException
- if an error occurs
ID3v2FormatException
- if an error occursMethod Detail |
public byte[] getBytes()
public int getSize()
public int getNumFlagBytes()
public int getMaxFrames()
public int getMaxTagSize()
public boolean getTextEncode()
public int getMaxTextSize()
public boolean getImageEncode()
public int getImageRestriction()
public boolean getUpdate()
public boolean getCRCed()
public byte[] getCRC()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |