public class ProductInfoTag extends Tag implements IManagedTag
ProductInfo tag in a SWF file.
This represents a ProductInfo SWF tag. It is used to embed information about the product, which was used to construct the SWF, including it's edition, major version, minor version, and build number, and the date the SWF was constructed.
| Modifier and Type | Class and Description |
|---|---|
static class |
ProductInfoTag.Edition
Edition Types
|
static class |
ProductInfoTag.Product
Product Types
|
| Constructor and Description |
|---|
ProductInfoTag(ProductInfoTag.Product product,
ProductInfoTag.Edition edition,
byte majorVersion,
byte minorVersion,
long build,
long compileDate)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Sub-class can override this method to provide more information when the
tag object is printed out.
|
long |
getBuild() |
long |
getCompileDate() |
ProductInfoTag.Edition |
getEdition() |
byte |
getMajorVersion() |
byte |
getMinorVersion() |
ProductInfoTag.Product |
getProduct() |
void |
setBuild(long build) |
void |
setCompileDate(long compileDate) |
void |
setEdition(ProductInfoTag.Edition edition) |
void |
setMajorVersion(byte majorVersion) |
void |
setMinorVersion(byte minorVersion) |
void |
setProduct(ProductInfoTag.Product product) |
getTagType, toStringpublic ProductInfoTag(ProductInfoTag.Product product, ProductInfoTag.Edition edition, byte majorVersion, byte minorVersion, long build, long compileDate)
product - product typeedition - edition typemajorVersion - major version of the SDKminorVersion - minor version of the SDKbuild - build number of the SDKcompileDate - date the file is compiledpublic ProductInfoTag.Edition getEdition()
public void setEdition(ProductInfoTag.Edition edition)
public ProductInfoTag.Product getProduct()
public void setProduct(ProductInfoTag.Product product)
public byte getMajorVersion()
public void setMajorVersion(byte majorVersion)
public byte getMinorVersion()
public void setMinorVersion(byte minorVersion)
public long getBuild()
public void setBuild(long build)
public long getCompileDate()
public void setCompileDate(long compileDate)
public String description()
Tagdescription in class TagCopyright © 2023 The Apache Software Foundation. All rights reserved.