public class SWFInputStream extends org.freehep.util.io.TaggedInputStream implements SWFConstants
BIT_MASK, FIELD_MASK, MASK_SIZE, ONES, ZEROCONTROL, DEFAULT_VERSION, DEFINITION, LANGUAGE_JAPANESE, LANGUAGE_KOREAN, LANGUAGE_LATIN, LANGUAGE_SIMPLIFIED_CHINESE, LANGUAGE_TRADITIONAL_CHINESE, TWIPS| Constructor and Description |
|---|
SWFInputStream(InputStream is) |
SWFInputStream(InputStream is,
int version) |
SWFInputStream(InputStream is,
SWFSpriteTagSet tagSet,
SWFActionSet actionSet) |
| Modifier and Type | Method and Description |
|---|---|
SWFDictionary |
getDictionary() |
byte[] |
getJPEGTable() |
int |
getVersion() |
protected org.freehep.util.io.ActionHeader |
readActionHeader() |
Color |
readColor(boolean alpha)
Read an RGB value from the stream.
|
float |
readFixed()
Read a fixed point value (16.16).
|
float |
readFixed8()
Read a fixed point value (8.8).
|
SWFHeader |
readHeader() |
int |
readLanguageCode() |
AffineTransform |
readMatrix()
Read a matrix from the stream.
|
Rectangle2D |
readRect()
Read a rectangle from the stream.
|
String |
readString()
Read a string from the stream.
|
protected org.freehep.util.io.TagHeader |
readTagHeader() |
void |
setJPEGTable(byte[] table) |
addAction, addTag, getTagHeader, readAction, readTaggetLength, popBuffer, pushBuffer, readreadAsciiZString, readBoolean, readByte, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readInt, readLine, readLong, readShort, readShort, readUnsignedByte, readUnsignedByte, readUnsignedInt, readUnsignedInt, readUnsignedShort, readUnsignedShort, readUTF, skipBytesbyteAlign, fetchByte, readBitFlag, readFBits, readSBits, readUBitsavailable, close, mark, markSupported, read, resetpublic SWFInputStream(InputStream is) throws IOException
IOExceptionpublic SWFInputStream(InputStream is, int version) throws IOException
IOExceptionpublic SWFInputStream(InputStream is, SWFSpriteTagSet tagSet, SWFActionSet actionSet) throws IOException
IOExceptionpublic float readFixed()
throws IOException
IOExceptionpublic float readFixed8()
throws IOException
IOExceptionpublic Rectangle2D readRect() throws IOException
IOExceptionpublic Color readColor(boolean alpha) throws IOException
IOExceptionpublic AffineTransform readMatrix() throws IOException
IOExceptionpublic String readString() throws IOException
readString in class org.freehep.util.io.ByteOrderInputStreamIOExceptionpublic int readLanguageCode()
throws IOException
IOExceptionprotected org.freehep.util.io.TagHeader readTagHeader()
throws IOException
readTagHeader in class org.freehep.util.io.TaggedInputStreamIOExceptionprotected org.freehep.util.io.ActionHeader readActionHeader()
throws IOException
readActionHeader in class org.freehep.util.io.TaggedInputStreamIOExceptionpublic SWFHeader readHeader() throws IOException
IOExceptionpublic SWFDictionary getDictionary()
public void setJPEGTable(byte[] table)
public byte[] getJPEGTable()
public int getVersion()
Copyright © 2014. All rights reserved.