|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.swf.TagParser
public class TagParser
Parse Tags and drive a SWFTagTypes interface.
| Field Summary | |
|---|---|
protected SWFTagTypes |
tagtypes
Description of the Field |
| Constructor Summary | |
|---|---|
TagParser(SWFTagTypes tagtypes)
Constructor for the TagParser object |
|
| Method Summary | |
|---|---|
void |
header(int version,
long length,
int twipsWidth,
int twipsHeight,
int frameRate,
int frameCount)
Interface SWFTags |
static void |
main(java.lang.String[] args)
The main program for the TagParser class |
protected void |
parseButtonCXForm(InStream in)
Description of the Method |
protected void |
parseChangeRecord(InStream in,
int flags,
SWFVectors vectors,
SWFShape shape,
boolean hasAlpha,
int[] numFillBits2,
int[] numLineBits2)
Description of the Method |
protected void |
parseDefineBits(InStream in)
Description of the Method |
protected void |
parseDefineBitsJPEG3(InStream in)
Description of the Method |
protected void |
parseDefineBitsLossless(InStream in,
int length,
boolean hasAlpha)
Description of the Method |
protected void |
parseDefineButton(InStream in)
Description of the Method |
protected void |
parseDefineButton2(InStream in)
Description of the Method |
protected void |
parseDefineButtonSound(InStream in)
Description of the Method |
protected void |
parseDefineFont(InStream in)
Description of the Method |
protected void |
parseDefineFont2(InStream in)
Description of the Method |
protected void |
parseDefineJPEG2(InStream in,
int length)
Description of the Method |
protected void |
parseDefineJPEGTables(InStream in)
Description of the Method |
protected void |
parseDefineShape(int type,
InStream in)
Description of the Method |
protected void |
parseDefineSound(InStream in)
Description of the Method |
protected void |
parseDefineSprite(InStream in)
Description of the Method |
protected void |
parseDefineText(int type,
InStream in)
Description of the Method |
protected void |
parseDefineTextField(InStream in)
Description of the Method |
protected void |
parseDoAction(InStream in)
Description of the Method |
protected void |
parseExport(InStream in)
Description of the Method |
void |
parseFillStyle(InStream in,
SWFShape shape,
boolean hasAlpha)
Description of the Method |
protected void |
parseFontInfo(InStream in,
int length2)
Description of the Method |
protected void |
parseImport(InStream in)
Description of the Method |
void |
parseLineStyle(InStream in,
SWFShape shape,
boolean hasAlpha)
Description of the Method |
protected void |
parseMorphFillStyle(InStream in,
SWFShape shape)
Description of the Method |
protected void |
parseMorphLineStyle(InStream in,
SWFShape shape)
Description of the Method |
protected void |
parseMorphShape(InStream in)
Description of the Method |
protected void |
parsePlaceObject(InStream in,
int length)
Description of the Method |
protected void |
parsePlaceObject2(InStream in)
Description of the Method |
protected void |
parseShape(InStream in,
SWFVectors vectors,
boolean hasStyle,
boolean hasAlpha)
Description of the Method |
protected void |
parseSoundStreamBlock(InStream in)
Description of the Method |
protected void |
parseSoundStreamHead(boolean adpcmOnly,
InStream in)
Description of the Method |
protected void |
parseStartSound(InStream in)
Description of the Method |
protected void |
parseStyles(InStream in,
SWFShape shape,
boolean hasAlpha)
Description of the Method |
void |
tag(int tagType,
boolean longTag,
byte[] contents)
Interface SWFTags |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SWFTagTypes tagtypes
| Constructor Detail |
|---|
public TagParser(SWFTagTypes tagtypes)
tagtypes - Description of the Parameter| Method Detail |
|---|
public void header(int version,
long length,
int twipsWidth,
int twipsHeight,
int frameRate,
int frameCount)
throws java.io.IOException
header in interface SWFHeaderversion - Description of the Parameterlength - Description of the ParametertwipsWidth - Description of the ParametertwipsHeight - Description of the ParameterframeRate - Description of the ParameterframeCount - Description of the Parameter
java.io.IOException - Description of the Exception
public void tag(int tagType,
boolean longTag,
byte[] contents)
throws java.io.IOException
tag in interface SWFTagstagType - Description of the ParameterlongTag - Description of the Parametercontents - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseDefineSound(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseStartSound(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseDefineButtonSound(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseSoundStreamHead(boolean adpcmOnly,
InStream in)
throws java.io.IOException
adpcmOnly - Description of the Parameterin - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseSoundStreamBlock(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseDefineBits(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseDefineJPEGTables(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseDefineBitsJPEG3(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseMorphShape(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseMorphLineStyle(InStream in,
SWFShape shape)
throws java.io.IOException
in - Description of the Parametershape - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseMorphFillStyle(InStream in,
SWFShape shape)
throws java.io.IOException
in - Description of the Parametershape - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseDefineJPEG2(InStream in,
int length)
throws java.io.IOException
in - Description of the Parameterlength - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseDefineBitsLossless(InStream in,
int length,
boolean hasAlpha)
throws java.io.IOException
in - Description of the Parameterlength - Description of the ParameterhasAlpha - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseExport(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseImport(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseDefineButton2(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseButtonCXForm(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseDefineButton(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseDefineText(int type,
InStream in)
throws java.io.IOException
type - Description of the Parameterin - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseDefineTextField(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseDefineFont2(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseFontInfo(InStream in,
int length2)
throws java.io.IOException
in - Description of the Parameterlength - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseDefineFont(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseDefineSprite(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parsePlaceObject2(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parsePlaceObject(InStream in,
int length)
throws java.io.IOException
in - Description of the Parameterlength - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseDoAction(InStream in)
throws java.io.IOException
in - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseDefineShape(int type,
InStream in)
throws java.io.IOException
type - Description of the Parameterin - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseShape(InStream in,
SWFVectors vectors,
boolean hasStyle,
boolean hasAlpha)
throws java.io.IOException
in - Description of the Parametervectors - Description of the ParameterhasStyle - Description of the ParameterhasAlpha - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseChangeRecord(InStream in,
int flags,
SWFVectors vectors,
SWFShape shape,
boolean hasAlpha,
int[] numFillBits2,
int[] numLineBits2)
throws java.io.IOException
in - Description of the Parameterflags - Description of the Parametervectors - Description of the Parametershape - Description of the ParameterhasAlpha - Description of the ParameternumFillBits - Description of the ParameternumLineBits - Description of the Parameter
java.io.IOException - Description of the Exception
protected void parseStyles(InStream in,
SWFShape shape,
boolean hasAlpha)
throws java.io.IOException
in - Description of the Parametershape - Description of the ParameterhasAlpha - Description of the Parameter
java.io.IOException - Description of the Exception
public void parseLineStyle(InStream in,
SWFShape shape,
boolean hasAlpha)
throws java.io.IOException
in - Description of the Parametershape - Description of the ParameterhasAlpha - Description of the Parameter
java.io.IOException - Description of the Exception
public void parseFillStyle(InStream in,
SWFShape shape,
boolean hasAlpha)
throws java.io.IOException
in - Description of the Parametershape - Description of the ParameterhasAlpha - Description of the Parameter
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 | |||||||||