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

Quick Search    Search Deep

com.anotherbigidea.flash
Class Unprotector  view Unprotector download Unprotector.java

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

public class Unprotector
extends java.lang.Object
implements com.anotherbigidea.flash.interfaces.SWFTags

Utility to unprotect a SWF. First arg is input filename. Second arg is output filename.


Field Summary
protected  com.anotherbigidea.flash.interfaces.SWFTags writer
           
 
Constructor Summary
Unprotector(com.anotherbigidea.flash.interfaces.SWFTags writer)
           
 
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)
           
 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

writer

protected com.anotherbigidea.flash.interfaces.SWFTags writer
Constructor Detail

Unprotector

public Unprotector(com.anotherbigidea.flash.interfaces.SWFTags writer)
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

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException