public class SWFInputStream extends org.freehep.util.io.TaggedInputStream implements SWFConstants
BIT_MASK, FIELD_MASK, MASK_SIZE, ONES, ZERO
CONTROL, 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, readTag
getLength, popBuffer, pushBuffer, read
readAsciiZString, readBoolean, readByte, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readInt, readLine, readLong, readShort, readShort, readUnsignedByte, readUnsignedByte, readUnsignedInt, readUnsignedInt, readUnsignedShort, readUnsignedShort, readUTF, skipBytes
byteAlign, fetchByte, readBitFlag, readFBits, readSBits, readUBits
available, close, mark, markSupported, read, reset
public SWFInputStream(InputStream is) throws IOException
IOException
public SWFInputStream(InputStream is, int version) throws IOException
IOException
public SWFInputStream(InputStream is, SWFSpriteTagSet tagSet, SWFActionSet actionSet) throws IOException
IOException
public float readFixed() throws IOException
IOException
public float readFixed8() throws IOException
IOException
public Rectangle2D readRect() throws IOException
IOException
public Color readColor(boolean alpha) throws IOException
IOException
public AffineTransform readMatrix() throws IOException
IOException
public String readString() throws IOException
readString
in class org.freehep.util.io.ByteOrderInputStream
IOException
public int readLanguageCode() throws IOException
IOException
protected org.freehep.util.io.TagHeader readTagHeader() throws IOException
readTagHeader
in class org.freehep.util.io.TaggedInputStream
IOException
protected org.freehep.util.io.ActionHeader readActionHeader() throws IOException
readActionHeader
in class org.freehep.util.io.TaggedInputStream
IOException
public SWFHeader readHeader() throws IOException
IOException
public SWFDictionary getDictionary()
public void setJPEGTable(byte[] table)
public byte[] getJPEGTable()
public int getVersion()
Copyright © 2014. All rights reserved.