📄 id3v2footer.html
字号:
<A NAME="ID3v2Footer(java.io.File, int)"><!-- --></A><H3>
ID3v2Footer</H3>
<PRE>
public <B>ID3v2Footer</B>(java.io.File mp3, int location) throws java.io.FileNotFoundException, java.io.IOException</PRE>
<DL>
<DD>Creates and id3v2 footer. This is almost identical to an id3v2 header but is placed at the end of the tag and is optional. It should only be used when tags are appended. An attempt will be made to read from the file provided from the location provided.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>mp3</CODE> - the file to read from<DD><CODE>location</CODE> - the location to find the footer<DT><B>Throws:</B><DD><CODE>java.io.FileNotFoundException</CODE> - if an error occurs<DD><CODE>java.io.IOException</CODE> - if an error occurs</DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getBytes()"><!-- --></A><H3>
getBytes</H3>
<PRE>
public byte[] <B>getBytes</B>()</PRE>
<DL>
<DD>Return an array of bytes representing the footer. This can be used to easily write the footer to a file.<DD><DL>
<DT><B>Returns:</B><DD>a binary representation of this footer</DL>
</DD>
</DL>
<HR>
<A NAME="footerExists()"><!-- --></A><H3>
footerExists</H3>
<PRE>
public boolean <B>footerExists</B>()</PRE>
<DL>
<DD>Returns true if a footer exists<DD><DL>
<DT><B>Returns:</B><DD>true if a footer exists</DL>
</DD>
</DL>
<HR>
<A NAME="getFooterSize()"><!-- --></A><H3>
getFooterSize</H3>
<PRE>
public int <B>getFooterSize</B>()</PRE>
<DL>
<DD>Returns the size (in bytes) of this footer. This is 10 if the footer exists and 0 otherwise<DD><DL>
<DT><B>Returns:</B><DD>the size of this footer</DL>
</DD>
</DL>
<HR>
<A NAME="getTagSize()"><!-- --></A><H3>
getTagSize</H3>
<PRE>
public int <B>getTagSize</B>()</PRE>
<DL>
<DD>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.<DD><DL>
<DT><B>Returns:</B><DD>the size field of the footer</DL>
</DD>
</DL>
<HR>
<A NAME="setTagSize(int)"><!-- --></A><H3>
setTagSize</H3>
<PRE>
public void <B>setTagSize</B>(int size)</PRE>
<DL>
<DD>Sets the size of the frames and/or extended footer. If this function is called, the footerExists function will return true. This is called every time a frame is updated, added, or removed.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>size</CODE> - a value of type 'int'</DL>
</DD>
</DL>
<HR>
<A NAME="getMajorVersion()"><!-- --></A><H3>
getMajorVersion</H3>
<PRE>
public int <B>getMajorVersion</B>()</PRE>
<DL>
<DD>Returns the major version of this id3v2 tag.<DD><DL>
<DT><B>Returns:</B><DD>the major version of this id3v2 tag.</DL>
</DD>
</DL>
<HR>
<A NAME="getMinorVersion()"><!-- --></A><H3>
getMinorVersion</H3>
<PRE>
public int <B>getMinorVersion</B>()</PRE>
<DL>
<DD>Return the minor version/revision of this id3v2 tag.<DD><DL>
<DT><B>Returns:</B><DD>the minor version/revision of this id3v2 tag.</DL>
</DD>
</DL>
<HR>
<A NAME="getUnsynchronisation()"><!-- --></A><H3>
getUnsynchronisation</H3>
<PRE>
public boolean <B>getUnsynchronisation</B>()</PRE>
<DL>
<DD>Returns true if the unsynchronisation bit is set in this footer.<DD><DL>
<DT><B>Returns:</B><DD>true if the unsynchronisation bit is set in this footer.</DL>
</DD>
</DL>
<HR>
<A NAME="setUnsynchronisation(boolean)"><!-- --></A><H3>
setUnsynchronisation</H3>
<PRE>
public void <B>setUnsynchronisation</B>(boolean unsynch)</PRE>
<DL>
<DD>Set the unsynchronisation flag for this footer.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>unsynch</CODE> - the new value of the unsynchronisation flag</DL>
</DD>
</DL>
<HR>
<A NAME="getExtendedFooter()"><!-- --></A><H3>
getExtendedFooter</H3>
<PRE>
public boolean <B>getExtendedFooter</B>()</PRE>
<DL>
<DD>Returns true if this tag has an extended footer.<DD><DL>
<DT><B>Returns:</B><DD>true if this tag has an extended footer</DL>
</DD>
</DL>
<HR>
<A NAME="setExtendedFooter(boolean)"><!-- --></A><H3>
setExtendedFooter</H3>
<PRE>
public void <B>setExtendedFooter</B>(boolean extend)</PRE>
<DL>
<DD>Set the value of the extended footer bit of this footer.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>extend</CODE> - the new value of the extended footer bit</DL>
</DD>
</DL>
<HR>
<A NAME="getExperimental()"><!-- --></A><H3>
getExperimental</H3>
<PRE>
public boolean <B>getExperimental</B>()</PRE>
<DL>
<DD>Returns true if the experimental bit of this footer is set.<DD><DL>
<DT><B>Returns:</B><DD>true if the experimental bit of this footer is set</DL>
</DD>
</DL>
<HR>
<A NAME="setExperimental(boolean)"><!-- --></A><H3>
setExperimental</H3>
<PRE>
public void <B>setExperimental</B>(boolean experiment)</PRE>
<DL>
<DD>Set the value of the experimental bit of this footer.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>experiment</CODE> - the new value of the experimental bit</DL>
</DD>
</DL>
<HR>
<A NAME="getFooter()"><!-- --></A><H3>
getFooter</H3>
<PRE>
public boolean <B>getFooter</B>()</PRE>
<DL>
<DD>Returns true if this tag has a footer.<DD><DL>
<DT><B>Returns:</B><DD>true if this tag has a footer</DL>
</DD>
</DL>
<HR>
<A NAME="setFooter(boolean)"><!-- --></A><H3>
setFooter</H3>
<PRE>
public void <B>setFooter</B>(boolean foot)</PRE>
<DL>
<DD>Sets the value of the footer bit for this footer.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>foot</CODE> - the new value of the footer bit for this footer</DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD>Return a string representation of this object. Contains all information contained within.<DD><DL>
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a string representation of this object</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../helliker/id3/ID3v2ExtendedHeader.html"><B>PREV CLASS</B></A>
<A HREF="../../helliker/id3/ID3v2FormatException.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="ID3v2Footer.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -