public class SwtPlatform
extends java.lang.Object
| Modifier and Type | Method 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.
|
public java.lang.String getWs()
public java.lang.String getOs()
public java.lang.String getArch()
public boolean equals(java.lang.Object otherRaw)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String platformFilter()
public java.util.Map<java.lang.String,java.lang.String> platformProperties()
public java.lang.String getWuffString()
public static SwtPlatform parseWsOsArch(java.lang.String unparsed)
public static SwtPlatform getNative()
public static SwtPlatform getRunning()
public static SwtPlatform fromOS(OS raw)
public static java.util.List<SwtPlatform> getAll()