FreeHEP API
Version current

org.freehep.graphicsio.swf
Class SWFTag

java.lang.Object
  extended byorg.freehep.util.io.Tag
      extended byorg.freehep.graphicsio.swf.SWFTag
All Implemented Interfaces:
SWFConstants
Direct Known Subclasses:
ControlTag, DefinitionTag

public abstract class SWFTag
extends Tag
implements SWFConstants

SWF Tag, superclass of all SWF Tags.

Version:
$Id: SWFTag.java,v 1.1 2001/11/29 01:45:32 duns Exp $
Author:
Mark Donszelmann, Charles Loomis
Source Code:
SWFTag.java

Field Summary
 
Fields inherited from class org.freehep.util.io.Tag
DEFAULT_TAG
 
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
protected SWFTag(int tagID, int version)
           
 
Method Summary
abstract  SWFTag read(int tagID, SWFInputStream swf, int len)
           
 Tag read(int tagID, TaggedInputStream input, int len)
          This reads the information from the given input and returns a new Tag
 void write(int tagID, SWFOutputStream swf)
           
 void write(int tagID, TaggedOutputStream output)
          This writes the information to the given output
 
Methods inherited from class org.freehep.util.io.Tag
getName, getTag, getTagType, getVersion, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SWFTag

protected SWFTag(int tagID,
                 int version)
Method Detail

read

public Tag read(int tagID,
                TaggedInputStream input,
                int len)
         throws IOException
Description copied from class: Tag
This reads the information from the given input and returns a new Tag

Specified by:
read in class Tag
Throws:
IOException

read

public abstract SWFTag read(int tagID,
                            SWFInputStream swf,
                            int len)
                     throws IOException
Throws:
IOException

write

public void write(int tagID,
                  TaggedOutputStream output)
           throws IOException
Description copied from class: Tag
This writes the information to the given output

Specified by:
write in class Tag
Throws:
IOException

write

public void write(int tagID,
                  SWFOutputStream swf)
           throws IOException
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.