|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpt.tumba.parser.swf.SWFWriter
public class SWFWriter
Implements the SWFTags interface and writes a SWF file to the output stream
Field Summary | |
---|---|
protected java.io.ByteArrayOutputStream |
byteout
Description of the Field |
protected java.lang.String |
filename
Description of the Field |
protected int |
frameCount
Description of the Field |
protected Rect |
frameSize
Description of the Field |
protected int |
height
Description of the Field |
protected OutStream |
out
Description of the Field |
protected java.io.OutputStream |
outputstream
Description of the Field |
protected int |
rate
Description of the Field |
protected int |
version
Description of the Field |
Constructor Summary | |
---|---|
SWFWriter(java.io.OutputStream outputstream)
Constructor for the SWFWriter object |
|
SWFWriter(OutStream outstream)
Constructor for the SWFWriter object |
|
SWFWriter(java.lang.String filename)
Constructor for the SWFWriter object |
Method Summary | |
---|---|
protected void |
finish()
Finish writing |
void |
header(int version,
long length2,
int twipsWidth,
int twipsHeight,
int frameRate,
int frameCount2)
Interface SWFTags |
void |
tag(int tagType,
boolean longTag2,
byte[] contents)
Interface SWFTags |
protected void |
writeHeader(int version,
long length,
int frameRate,
int frameCount)
Description of the Method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected OutStream out
protected java.io.OutputStream outputstream
protected java.io.ByteArrayOutputStream byteout
protected java.lang.String filename
protected int frameCount
protected int version
protected Rect frameSize
protected int height
protected int rate
Constructor Detail |
---|
public SWFWriter(java.lang.String filename) throws java.io.FileNotFoundException
filename
- Description of the Parameter
java.io.FileNotFoundException
- Description of the Exceptionpublic SWFWriter(java.io.OutputStream outputstream)
outputstream
- Description of the Parameterpublic SWFWriter(OutStream outstream)
outstream
- Description of the ParameterMethod Detail |
---|
public void header(int version, long length2, int twipsWidth, int twipsHeight, int frameRate, int frameCount2) 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 longTag2, 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 writeHeader(int version, long length, int frameRate, int frameCount) throws java.io.IOException
version
- Description of the Parameterlength
- Description of the ParameterframeRate
- Description of the ParameterframeCount
- Description of the Parameter
java.io.IOException
- Description of the Exceptionprotected void finish() throws java.io.IOException
java.io.IOException
- Description of the Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |