public class SWCVersion extends Object implements ISWCVersion
Constructor and Description |
---|
SWCVersion() |
Modifier and Type | Method and Description |
---|---|
String |
getCompilerBuild()
The build number of the compiler that created the SWC.
|
String |
getCompilerName()
The name of the compiler that created the SWC.
|
String |
getCompilerVersion()
The version of the compiler that created the SWC.
|
String |
getFlexBuild() |
String |
getFlexMinSupportedVersion() |
int |
getFlexMinSupportedVersionInt()
Get the flex min supported version as an integer.
|
String |
getFlexVersion() |
String |
getSWCVersion()
Get the SWC file version.
|
void |
setCompilerBuild(String value)
Set the build number of the compiler that created the SWC.
|
void |
setCompilerName(String value)
Set the name of the compiler that created the SWC.
|
void |
setCompilerVersion(String value)
Set the version of the compiler that created the SWC.
|
void |
setFlexBuild(String flexBuild) |
void |
setFlexMinSupportedVersion(String flexMinSupportedVersion) |
void |
setFlexVersion(String flexVersion) |
void |
setSWCVersion(String swcVersion) |
public String getSWCVersion()
ISWCVersion
getSWCVersion
in interface ISWCVersion
public void setSWCVersion(String swcVersion)
setSWCVersion
in interface ISWCVersion
swcVersion
- the swcVersion to setpublic String getFlexVersion()
getFlexVersion
in interface ISWCVersion
public void setFlexVersion(String flexVersion)
setFlexVersion
in interface ISWCVersion
flexVersion
- the flexVersion to setpublic String getFlexBuild()
getFlexBuild
in interface ISWCVersion
public void setFlexBuild(String flexBuild)
setFlexBuild
in interface ISWCVersion
flexBuild
- the flexBuild to setpublic String getFlexMinSupportedVersion()
getFlexMinSupportedVersion
in interface ISWCVersion
public void setFlexMinSupportedVersion(String flexMinSupportedVersion)
setFlexMinSupportedVersion
in interface ISWCVersion
flexMinSupportedVersion
- the flexMinSupportedVersion to setpublic int getFlexMinSupportedVersionInt()
ISWCVersion
For example, "4.6.1" becomes (4<<24) | (6<<16) | 1.
getFlexMinSupportedVersionInt
in interface ISWCVersion
public String getCompilerName()
ISWCVersion
getCompilerName
in interface ISWCVersion
public void setCompilerName(String value)
ISWCVersion
setCompilerName
in interface ISWCVersion
value
- name of the compiler.public String getCompilerVersion()
ISWCVersion
getCompilerVersion
in interface ISWCVersion
public void setCompilerVersion(String value)
ISWCVersion
setCompilerVersion
in interface ISWCVersion
value
- version of the compiler, not validated.public String getCompilerBuild()
ISWCVersion
getCompilerBuild
in interface ISWCVersion
public void setCompilerBuild(String value)
ISWCVersion
setCompilerBuild
in interface ISWCVersion
value
- build number of the compiler, not validated.Copyright © 2016 The Apache Software Foundation. All rights reserved.