Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.anotherbigidea.flash.writers
Class DummySWFWriter  view DummySWFWriter download DummySWFWriter.java

java.lang.Object
  extended bycom.anotherbigidea.flash.writers.DummySWFWriter
All Implemented Interfaces:
com.anotherbigidea.flash.interfaces.SWFFileSignature, com.anotherbigidea.flash.interfaces.SWFHeader, com.anotherbigidea.flash.interfaces.SWFTags

public class DummySWFWriter
extends java.lang.Object
implements com.anotherbigidea.flash.interfaces.SWFTags, com.anotherbigidea.flash.interfaces.SWFFileSignature

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


Field Summary
 
Fields inherited from interface com.anotherbigidea.flash.interfaces.SWFFileSignature
SIGNATURE_COMPRESSED, SIGNATURE_NORMAL
 
Constructor Summary
DummySWFWriter()
           
 
Method Summary
 void header(int version, long length, int twipsWidth, int twipsHeight, int frameRate, int frameCount)
          Interface SWFTags
 void signature(java.lang.String sig)
          Pass the signature.
 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 com.anotherbigidea.flash.interfaces.SWFHeader

tag

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

Specified by:
tag in interface com.anotherbigidea.flash.interfaces.SWFTags

signature

public void signature(java.lang.String sig)
Description copied from interface: com.anotherbigidea.flash.interfaces.SWFFileSignature
Pass the signature. This method must be called before the header(..) method in SWFHeader.

Specified by:
signature in interface com.anotherbigidea.flash.interfaces.SWFFileSignature