?? swfreader.html
字號:
mIn</H3>
<PRE>
protected <A HREF="../../../../com/anotherbigidea/io/InStream.html" title="class in com.anotherbigidea.io">InStream</A> <B>mIn</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="mInputstream"><!-- --></A><H3>
mInputstream</H3>
<PRE>
protected java.io.InputStream <B>mInputstream</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="mCompressed"><!-- --></A><H3>
mCompressed</H3>
<PRE>
protected boolean <B>mCompressed</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="mFilename"><!-- --></A><H3>
mFilename</H3>
<PRE>
protected java.lang.String <B>mFilename</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="ignoreProblemTags"><!-- --></A><H3>
ignoreProblemTags</H3>
<PRE>
public boolean <B>ignoreProblemTags</B></PRE>
<DL>
<DD>True to skip over tags that cause a problem during parsing, rather than throwing an exception.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="copeWithUnexpectedEOF"><!-- --></A><H3>
copeWithUnexpectedEOF</H3>
<PRE>
public boolean <B>copeWithUnexpectedEOF</B></PRE>
<DL>
<DD>True to cleanly end the file (generate an end tag) if an unexpected end-of-file occurs on the input.
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="SWFReader(com.anotherbigidea.flash.interfaces.SWFTags, java.lang.String)"><!-- --></A><H3>
SWFReader</H3>
<PRE>
public <B>SWFReader</B>(<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTags.html" title="interface in com.anotherbigidea.flash.interfaces">SWFTags</A> consumer,
java.lang.String filename)
throws java.io.IOException</PRE>
<DL>
<DD>Read from a file. Must call readFile() in order to properly close the file.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>consumer</CODE> - may also implement the SWFFileSignature interface.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DL>
<HR>
<A NAME="SWFReader(com.anotherbigidea.flash.interfaces.SWFTags, java.io.InputStream)"><!-- --></A><H3>
SWFReader</H3>
<PRE>
public <B>SWFReader</B>(<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTags.html" title="interface in com.anotherbigidea.flash.interfaces">SWFTags</A> consumer,
java.io.InputStream inputstream)</PRE>
<DL>
<DL>
<DT><B>Parameters:</B><DD><CODE>consumer</CODE> - may also implement the SWFFileSignature interface.</DL>
</DL>
<HR>
<A NAME="SWFReader(com.anotherbigidea.flash.interfaces.SWFTags, com.anotherbigidea.io.InStream)"><!-- --></A><H3>
SWFReader</H3>
<PRE>
public <B>SWFReader</B>(<A HREF="../../../../com/anotherbigidea/flash/interfaces/SWFTags.html" title="interface in com.anotherbigidea.flash.interfaces">SWFTags</A> consumer,
<A HREF="../../../../com/anotherbigidea/io/InStream.html" title="class in com.anotherbigidea.io">InStream</A> instream)</PRE>
<DL>
<DL>
<DT><B>Parameters:</B><DD><CODE>consumer</CODE> - may also implement the SWFFileSignature interface.</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="readFile()"><!-- --></A><H3>
readFile</H3>
<PRE>
public void <B>readFile</B>()
throws java.io.IOException</PRE>
<DL>
<DD>Drive the consumer by reading a SWF File - including the header and all tags
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="readTags()"><!-- --></A><H3>
readTags</H3>
<PRE>
public void <B>readTags</B>()
throws java.io.IOException</PRE>
<DL>
<DD>Drive the consumer by reading SWF tags only. The full header must have been read prior to this.
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="readOneTag()"><!-- --></A><H3>
readOneTag</H3>
<PRE>
public int <B>readOneTag</B>()
throws java.io.IOException</PRE>
<DL>
<DD>Drive the consumer by reading one tag
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the tag type, -1 if the tag could not be parsed and ignoreProblemTags is true
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="readSignature()"><!-- --></A><H3>
readSignature</H3>
<PRE>
public void <B>readSignature</B>()
throws java.io.IOException</PRE>
<DL>
<DD>Read and verify just the file signature.
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="readHeader()"><!-- --></A><H3>
readHeader</H3>
<PRE>
public void <B>readHeader</B>()
throws java.io.IOException</PRE>
<DL>
<DD>Read the SWF file header - including the signature.
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="readRemainderOfHeader()"><!-- --></A><H3>
readRemainderOfHeader</H3>
<PRE>
public void <B>readRemainderOfHeader</B>()
throws java.io.IOException</PRE>
<DL>
<DD>Read the header after the signature. The signature must have been read prior to this.
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="main(java.lang.String[])"><!-- --></A><H3>
main</H3>
<PRE>
public static void <B>main</B>(java.lang.String[] args)
throws java.io.IOException</PRE>
<DL>
<DD>Test: read from args[0] and write to args[1]. If args[2] is '+' then output is forced to be compressed, if it is '-' then output is forced to be uncompressed - otherwise the output is the same as the input.
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SWFReader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-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="../../../../com/anotherbigidea/flash/readers/MovieBuilder.TextBuilder.html" title="class in com.anotherbigidea.flash.readers"><B>PREV CLASS</B></A>
<A HREF="../../../../com/anotherbigidea/flash/readers/TagParser.html" title="class in com.anotherbigidea.flash.readers"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?com/anotherbigidea/flash/readers/SWFReader.html" target="_top"><B>FRAMES</B></A>
<A HREF="SWFReader.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<i>Copyright © 2000-2005 David N Main. All Rights Reserved.</i>
</BODY>
</HTML>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -