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 StringCOMPRESSEDstatic StringUNCOMPRESSED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCompressionType()intgetFrameCount()intgetFrameRate()intgetHeight()intgetNbits()StringgetSignature()longgetSize()intgetVersion()intgetWidth()intgetXmax()intgetYmax()booleanisCompressed()static SWFHeaderloadHeader(InputStream is)StringtoString()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
-
-