org.freehep.graphicsio.swf
Class SWFHeader

java.lang.Object
  extended by org.freehep.graphicsio.swf.SWFHeader
All Implemented Interfaces:
SWFConstants

public class SWFHeader
extends java.lang.Object
implements SWFConstants

SWF File Header.

Version:
$Id: SWFHeader.java 8584 2006-08-10 23:06:37Z duns $
Author:
Mark Donszelmann, Charles Loomis

Field Summary
 
Fields inherited from interface org.freehep.graphicsio.swf.SWFConstants
CONTROL, DEFAULT_VERSION, DEFINITION, LANGUAGE_JAPANESE, LANGUAGE_KOREAN, LANGUAGE_LATIN, LANGUAGE_SIMPLIFIED_CHINESE, LANGUAGE_TRADITIONAL_CHINESE, TWIPS
 
Constructor Summary
SWFHeader(int version, long length, java.awt.Dimension size, float rate, int count, boolean compress)
           
SWFHeader(SWFInputStream swf)
           
 
Method Summary
 int getCount()
           
 long getLength()
           
 float getRate()
           
 java.awt.Dimension getSize()
           
 int getVersion()
           
 boolean isCompressed()
           
static int size()
           
 java.lang.String toString()
           
 void write(SWFOutputStream swf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SWFHeader

public SWFHeader(int version,
                 long length,
                 java.awt.Dimension size,
                 float rate,
                 int count,
                 boolean compress)

SWFHeader

public SWFHeader(SWFInputStream swf)
          throws java.io.IOException
Throws:
java.io.IOException
Method Detail

write

public void write(SWFOutputStream swf)
           throws java.io.IOException
Throws:
java.io.IOException

size

public static int size()

getVersion

public int getVersion()

getLength

public long getLength()

isCompressed

public boolean isCompressed()

getSize

public java.awt.Dimension getSize()

getRate

public float getRate()

getCount

public int getCount()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2000-2007 FreeHEP. All Rights Reserved.