|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--helliker.id3.ID3v2Footer
Constructor Summary | |
ID3v2Footer(java.io.File mp3,
int location)
Creates and id3v2 footer. |
Method Summary | |
boolean |
footerExists()
Returns true if a footer exists |
byte[] |
getBytes()
Return an array of bytes representing the footer. |
boolean |
getExperimental()
Returns true if the experimental bit of this footer is set. |
boolean |
getExtendedFooter()
Returns true if this tag has an extended footer. |
boolean |
getFooter()
Returns true if this tag has a footer. |
int |
getFooterSize()
Returns the size (in bytes) of this footer. |
int |
getMajorVersion()
Returns the major version of this id3v2 tag. |
int |
getMinorVersion()
Return the minor version/revision of this id3v2 tag. |
int |
getTagSize()
Returns the size (in bytes) of the frames and/or extended footer portion of the id3v2 tag according to the size field in the footer. |
boolean |
getUnsynchronisation()
Returns true if the unsynchronisation bit is set in this footer. |
void |
setExperimental(boolean experiment)
Set the value of the experimental bit of this footer. |
void |
setExtendedFooter(boolean extend)
Set the value of the extended footer bit of this footer. |
void |
setFooter(boolean foot)
Sets the value of the footer bit for this footer. |
void |
setTagSize(int size)
Sets the size of the frames and/or extended footer. |
void |
setUnsynchronisation(boolean unsynch)
Set the unsynchronisation flag for this footer. |
java.lang.String |
toString()
Return a string representation of this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ID3v2Footer(java.io.File mp3, int location) throws java.io.FileNotFoundException, java.io.IOException
mp3
- the file to read fromlocation
- the location to find the footer
java.io.FileNotFoundException
- if an error occurs
java.io.IOException
- if an error occursMethod Detail |
public byte[] getBytes()
public boolean footerExists()
public int getFooterSize()
public int getTagSize()
public void setTagSize(int size)
size
- a value of type 'int'public int getMajorVersion()
public int getMinorVersion()
public boolean getUnsynchronisation()
public void setUnsynchronisation(boolean unsynch)
unsynch
- the new value of the unsynchronisation flagpublic boolean getExtendedFooter()
public void setExtendedFooter(boolean extend)
extend
- the new value of the extended footer bitpublic boolean getExperimental()
public void setExperimental(boolean experiment)
experiment
- the new value of the experimental bitpublic boolean getFooter()
public void setFooter(boolean foot)
foot
- the new value of the footer bit for this footerpublic 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 |