|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.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 ParameterMethod Detail |
---|
public void header(int version, long length, int twipsWidth, int twipsHeight, int frameRate, int frameCount) throws java.io.IOException
header
in interface SWFHeader
version
- 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 Exceptionpublic void tag(int tagType, boolean longTag, byte[] contents) throws java.io.IOException
tag
in interface SWFTags
tagType
- Description of the ParameterlongTag
- Description of the Parametercontents
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected void parseDefineSound(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected void parseStartSound(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected void parseDefineButtonSound(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected 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 Exceptionprotected void parseSoundStreamBlock(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected void parseDefineBits(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected void parseDefineJPEGTables(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected void parseDefineBitsJPEG3(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected void parseMorphShape(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected 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 Exceptionprotected 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 Exceptionprotected 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 Exceptionprotected 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 Exceptionprotected void parseExport(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected void parseImport(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected void parseDefineButton2(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected void parseButtonCXForm(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected void parseDefineButton(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected 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 Exceptionprotected void parseDefineTextField(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected void parseDefineFont2(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected 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 Exceptionprotected void parseDefineFont(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected void parseDefineSprite(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected void parsePlaceObject2(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected 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 Exceptionprotected void parseDoAction(InStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected 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 Exceptionprotected 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 Exceptionprotected 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 Exceptionprotected 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 Exceptionpublic 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 Exceptionpublic 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 Exceptionpublic 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 |