FreeHEP API
Version current

org.freehep.graphicsio.swf
Class SWFHeader

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

public class SWFHeader
extends Object
implements SWFConstants

SWF File Header.

Version:
$Id: SWFHeader.java,v 1.6 2005/02/28 06:55:58 duns Exp $
Author:
Mark Donszelmann, Charles Loomis
Source Code:
SWFHeader.java

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, Dimension size, float rate, int count, boolean compress)
           
SWFHeader(SWFInputStream swf)
           
 
Method Summary
 int getCount()
           
 long getLength()
           
 float getRate()
           
 Dimension getSize()
           
 int getVersion()
           
 boolean isCompressed()
           
static int size()
           
 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,
                 Dimension size,
                 float rate,
                 int count,
                 boolean compress)

SWFHeader

public SWFHeader(SWFInputStream swf)
          throws IOException
Method Detail

write

public void write(SWFOutputStream swf)
           throws IOException
Throws:
IOException

size

public static int size()

getVersion

public int getVersion()

getLength

public long getLength()

isCompressed

public boolean isCompressed()

getSize

public Dimension getSize()

getRate

public float getRate()

getCount

public int getCount()

toString

public String toString()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.