Models the platforms that SWT binaries are built for, useful for build tools that interact with SWT jars.
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
equals(java.lang.Object otherRaw) |
|
static SwtPlatform |
fromOS(OS raw)Converts an OS to an SwtPlatform. |
|
static java.util.List<SwtPlatform> |
getAll()Returns all of the platforms. |
|
java.lang.String |
getArch()Returns the CPU architecture. |
|
static SwtPlatform |
getNative()Returns the SwtPlatform for the native platform: 32-bit JVM on 64-bit Windows returns x86_64. |
|
java.lang.String |
getOs()Returns the operating system. |
|
static SwtPlatform |
getRunning()Returns the SwtPlatform for the running platform: 32-bit JVM on 64-bit Windows returns x86. |
|
java.lang.String |
getWs()Returns the windowing system. |
|
java.lang.String |
getWuffString()Returns the folder name that wuff uses for this SwtPlatform. |
|
int |
hashCode() |
|
static SwtPlatform |
parseWsOsArch(java.lang.String unparsed)Parses ws.os.arch strings (which is how SWT bundles are specified). |
|
java.lang.String |
platformFilter()Returns a string appropriate as an Eclipse-PlatformFilter in a MANIFEST.MF |
|
java.util.Map<java.lang.String, java.lang.String> |
platformProperties()Returns a map containing the platform properties. |
|
java.lang.String |
toString()Returns "ws.os.arch", which is how SWT bundles are named. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Converts an OS to an SwtPlatform.
Returns all of the platforms.
Returns the CPU architecture.
Returns the SwtPlatform for the native platform: 32-bit JVM on 64-bit Windows returns x86_64.
Returns the operating system.
Returns the SwtPlatform for the running platform: 32-bit JVM on 64-bit Windows returns x86.
Returns the windowing system.
Returns the folder name that wuff uses for this SwtPlatform.
Parses ws.os.arch strings (which is how SWT bundles are specified).
Returns a string appropriate as an Eclipse-PlatformFilter in a MANIFEST.MF
Returns a map containing the platform properties.
Returns "ws.os.arch", which is how SWT bundles are named.