pt.tumba.parser.swf
Class DummySWFWriter

java.lang.Object
  extended by pt.tumba.parser.swf.DummySWFWriter
All Implemented Interfaces:
SWFHeader, SWFTags

public class DummySWFWriter
extends java.lang.Object
implements SWFTags

Implements the SWFTags interface and does nothing Use as a sink when output is not required

Author:
unknown

Constructor Summary
DummySWFWriter()
           
 
Method Summary
 void header(int version, long length, int twipsWidth, int twipsHeight, int frameRate, int frameCount)
          Interface SWFTags
 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
 

Constructor Detail

DummySWFWriter

public DummySWFWriter()
Method Detail

header

public void header(int version,
                   long length,
                   int twipsWidth,
                   int twipsHeight,
                   int frameRate,
                   int frameCount)
            throws java.io.IOException
Interface SWFTags

Specified by:
header in interface SWFHeader
Parameters:
version - Description of the Parameter
length - Description of the Parameter
twipsWidth - Description of the Parameter
twipsHeight - Description of the Parameter
frameRate - Description of the Parameter
frameCount - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

tag

public void tag(int tagType,
                boolean longTag,
                byte[] contents)
         throws java.io.IOException
Interface SWFTags

Specified by:
tag in interface SWFTags
Parameters:
tagType - Description of the Parameter
longTag - Description of the Parameter
contents - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception