public class SWFOutputStream extends org.freehep.util.io.TaggedOutputStream implements SWFConstants
out
CONTROL, 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, writeTag
append, getBufferLength, getLength, popBuffer, popBufferBytes, pushBuffer, writeByteArray, writeSingleByte
size, writeAsciiZString, writeBoolean, writeByte, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeInt, writeLong, writeShort, writeShort, writeUnsignedByte, writeUnsignedByte, writeUnsignedInt, writeUnsignedInt, writeUnsignedShort, writeUnsignedShort, writeUTF, writeUTF
byteAlign, finish, flushByte, minBits, minBits, minBits, writeBitFlag, writeFBits, writeSBits, writeUBits
startCompressing, write, write
flush, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write, write, write
public SWFOutputStream(OutputStream os, Dimension size, float frameRate, boolean compress) throws IOException
IOException
public SWFOutputStream(OutputStream os, int version, Dimension size, float frameRate, boolean compress) throws IOException
IOException
public SWFOutputStream(OutputStream os, SWFTagSet tagSet, SWFActionSet actionSet, Dimension size, float frameRate, boolean compress) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.freehep.util.io.TaggedOutput
close
in class org.freehep.util.io.ByteCountOutputStream
IOException
public void writeTag(ShowFrame tag) throws IOException
IOException
public void writeFixed(double d) throws IOException
IOException
public void writeFixed8(double d) throws IOException
IOException
public void writeRect(Rectangle2D rect) throws IOException
IOException
public void writeRect(Rectangle2D rect, int nbits) throws IOException
IOException
public void writeColor(Color color, boolean alpha) throws IOException
IOException
public void writeMatrix(AffineTransform matrix) throws IOException
IOException
public void writeString(String s) throws IOException
writeString
in class org.freehep.util.io.ByteOrderOutputStream
IOException
public void writeLanguageCode(int code) throws IOException
IOException
protected void writeTagHeader(org.freehep.util.io.TagHeader tagHeader) throws IOException
writeTagHeader
in class org.freehep.util.io.TaggedOutputStream
IOException
protected void writeActionHeader(org.freehep.util.io.ActionHeader header) throws IOException
writeActionHeader
in class org.freehep.util.io.TaggedOutputStream
IOException
public void writeHeader(SWFHeader header) throws IOException
IOException
public int getVersion()
Copyright © 2014. All rights reserved.