com.atlassian.confluence.renderer.embedded.support
Class SWFHeader

java.lang.Object
  extended by com.atlassian.confluence.renderer.embedded.support.SWFHeader

public class SWFHeader
extends Object


Field Summary
static String COMPRESSED
           
static String UNCOMPRESSED
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

toString

public String toString()
Overrides:
toString in class Object

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


Copyright © 2003-2012 Atlassian. All Rights Reserved.