|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.swf.SWFReader
public class SWFReader
Reads a SWF input stream and drives the SWFConsumer interface.
| Field Summary | |
|---|---|
protected SWFTags |
consumer
Description of the Field |
protected InStream |
in
Description of the Field |
protected java.io.InputStream |
inputstream
Description of the Field |
int |
size
Description of the Field |
| Constructor Summary | |
|---|---|
SWFReader(SWFTags consumer,
java.io.InputStream inputstream)
Constructor for the SWFReader object |
|
SWFReader(SWFTags consumer,
InStream instream)
Constructor for the SWFReader object |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
The main program for the SWFReader class |
void |
readFile()
Drive the consumer by reading a SWF File - including the header and all tags |
void |
readHeader()
Only read the SWF file header |
int |
readOneTag()
Drive the consumer by reading one tag |
void |
readTags()
Drive the consumer by reading SWF tags only |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SWFTags consumer
protected InStream in
protected java.io.InputStream inputstream
public int size
| Constructor Detail |
|---|
public SWFReader(SWFTags consumer,
java.io.InputStream inputstream)
consumer - Description of the Parameterinputstream - Description of the Parameter
public SWFReader(SWFTags consumer,
InStream instream)
consumer - Description of the Parameterinstream - Description of the Parameter| Method Detail |
|---|
public void readFile()
throws java.io.IOException
java.io.IOException - Description of the Exception
public void readTags()
throws java.io.IOException
java.io.IOException - Description of the Exception
public int readOneTag()
throws java.io.IOException
java.io.IOException - Description of the Exception
public void readHeader()
throws java.io.IOException
java.io.IOException - Description of the Exception
public static void main(java.lang.String[] args)
throws java.io.IOException
args - The command line arguments
java.io.IOException - Description of the Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||