public class SWFOutputStream extends org.freehep.util.io.TaggedOutputStream implements SWFConstants
outCONTROL, DEFAULT_VERSION, DEFINITION, LANGUAGE_JAPANESE, LANGUAGE_KOREAN, LANGUAGE_LATIN, LANGUAGE_SIMPLIFIED_CHINESE, LANGUAGE_TRADITIONAL_CHINESE, TWIPS| Constructor and Description | 
|---|
| SWFOutputStream(OutputStream os,
               Dimension size,
               float frameRate,
               boolean compress) | 
| SWFOutputStream(OutputStream os,
               int version,
               Dimension size,
               float frameRate,
               boolean compress) | 
| SWFOutputStream(OutputStream os,
               SWFTagSet tagSet,
               SWFActionSet actionSet,
               Dimension size,
               float frameRate,
               boolean compress) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| int | getVersion() | 
| protected void | writeActionHeader(org.freehep.util.io.ActionHeader header) | 
| void | writeColor(Color color,
          boolean alpha) | 
| void | writeFixed(double d) | 
| void | writeFixed8(double d) | 
| void | writeHeader(SWFHeader header) | 
| void | writeLanguageCode(int code) | 
| void | writeMatrix(AffineTransform matrix) | 
| void | writeRect(Rectangle2D rect) | 
| void | writeRect(Rectangle2D rect,
         int nbits) | 
| void | writeString(String s) | 
| void | writeTag(ShowFrame tag) | 
| protected void | writeTagHeader(org.freehep.util.io.TagHeader tagHeader) | 
createTagHeader, getTagAlignment, writeAction, writeTagappend, getBufferLength, getLength, popBuffer, popBufferBytes, pushBuffer, writeByteArray, writeSingleBytesize, writeAsciiZString, writeBoolean, writeByte, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeInt, writeLong, writeShort, writeShort, writeUnsignedByte, writeUnsignedByte, writeUnsignedInt, writeUnsignedInt, writeUnsignedShort, writeUnsignedShort, writeUTF, writeUTFbyteAlign, finish, flushByte, minBits, minBits, minBits, writeBitFlag, writeFBits, writeSBits, writeUBitsstartCompressing, write, writeflush, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwrite, write, writepublic SWFOutputStream(OutputStream os, Dimension size, float frameRate, boolean compress) throws IOException
IOExceptionpublic SWFOutputStream(OutputStream os, int version, Dimension size, float frameRate, boolean compress) throws IOException
IOExceptionpublic SWFOutputStream(OutputStream os, SWFTagSet tagSet, SWFActionSet actionSet, Dimension size, float frameRate, boolean compress) throws IOException
IOExceptionpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface org.freehep.util.io.TaggedOutputclose in class org.freehep.util.io.ByteCountOutputStreamIOExceptionpublic void writeTag(ShowFrame tag) throws IOException
IOExceptionpublic void writeFixed(double d)
                throws IOException
IOExceptionpublic void writeFixed8(double d)
                 throws IOException
IOExceptionpublic void writeRect(Rectangle2D rect) throws IOException
IOExceptionpublic void writeRect(Rectangle2D rect, int nbits) throws IOException
IOExceptionpublic void writeColor(Color color, boolean alpha) throws IOException
IOExceptionpublic void writeMatrix(AffineTransform matrix) throws IOException
IOExceptionpublic void writeString(String s) throws IOException
writeString in class org.freehep.util.io.ByteOrderOutputStreamIOExceptionpublic void writeLanguageCode(int code)
                       throws IOException
IOExceptionprotected void writeTagHeader(org.freehep.util.io.TagHeader tagHeader)
                       throws IOException
writeTagHeader in class org.freehep.util.io.TaggedOutputStreamIOExceptionprotected void writeActionHeader(org.freehep.util.io.ActionHeader header)
                          throws IOException
writeActionHeader in class org.freehep.util.io.TaggedOutputStreamIOExceptionpublic void writeHeader(SWFHeader header) throws IOException
IOExceptionpublic int getVersion()
Copyright © 2014. All rights reserved.