Class SWFHeader
- java.lang.Object
-
- com.atlassian.confluence.renderer.embedded.support.SWFHeader
-
public class SWFHeader extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
COMPRESSED
static String
UNCOMPRESSED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCompressionType()
int
getFrameCount()
int
getFrameRate()
int
getHeight()
int
getNbits()
String
getSignature()
long
getSize()
int
getVersion()
int
getWidth()
int
getXmax()
int
getYmax()
boolean
isCompressed()
static SWFHeader
loadHeader(InputStream is)
String
toString()
protected byte[]
uncompressHeader(byte[] bytes)
-
-
-
Field Detail
-
COMPRESSED
public static final String COMPRESSED
- See Also:
- Constant Field Values
-
UNCOMPRESSED
public static final String UNCOMPRESSED
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadHeader
public static SWFHeader loadHeader(InputStream is)
-
isCompressed
public boolean isCompressed()
-
uncompressHeader
protected byte[] uncompressHeader(byte[] bytes) throws DataFormatException
- Throws:
DataFormatException
-
getFrameCount
public int getFrameCount()
- Returns:
- the frameCount
-
getFrameRate
public int getFrameRate()
- Returns:
- the frameRate
-
getNbits
public int getNbits()
- Returns:
- the nbits
-
getSignature
public String getSignature()
- Returns:
- the signature
-
getSize
public long getSize()
- Returns:
- the size
-
getVersion
public int getVersion()
- Returns:
- the version
-
getXmax
public int getXmax()
- Returns:
- the xmax
-
getYmax
public int getYmax()
- Returns:
- the ymax
-
getCompressionType
public String getCompressionType()
- Returns:
- the compressionType
-
getHeight
public int getHeight()
- Returns:
- the height
-
getWidth
public int getWidth()
- Returns:
- the width
-
-