| Package | Description | 
|---|---|
| org.apache.flex.swf | This package and its subpackages contain a support library
for reading, writing, and representing SWF files. | 
| org.apache.flex.swf.io | This package contains classes and interfaces for reading and writing SWF files. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Header.Compression | Header. decideCompression(boolean compressed,
                 int swfVersion,
                 boolean debug)Based on desire for compression, debug, and swf version, pick the
 appropriate compression type | 
| Header.Compression | Header. getCompression()Check if the SWF file uses compression. | 
| static Header.Compression | Header.Compression. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Header.Compression[] | Header.Compression. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| ISWFWriter | ISWFWriterFactory. createSWFWriter(ISWF swf,
               Header.Compression useCompression,
               boolean enableDebug,
               boolean enableTelemetry) | 
| void | InputBitStream. setCompress(Header.Compression compression)Set if the InputStream is a compressed SWF stream. | 
| Constructor and Description | 
|---|
| SizeReportWritingSWFWriter(ISWF swf,
                          Header.Compression useCompression,
                          boolean enableDebug,
                          boolean enableTelemetry,
                          File sizeReport)Create a SWF writer with a size reporter. | 
| SWFWriter(ISWF swf,
         Header.Compression useCompression)Create a SWF writer. | 
| SWFWriter(ISWF swf,
         Header.Compression useCompression,
         boolean enableDebug,
         boolean enableTelemetry)Create a SWF writer. | 
Copyright © 2016 The Apache Software Foundation. All rights reserved.