public class SwtPlatform extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object otherRaw) |
static SwtPlatform |
fromOS(OS raw)
Converts an OS to an SwtPlatform.
|
static List<SwtPlatform> |
getAll()
Returns all of the platforms.
|
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.
|
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.
|
String |
getWs()
Returns the windowing system.
|
String |
getWuffString()
Returns the folder name that wuff uses for this SwtPlatform.
|
int |
hashCode() |
static SwtPlatform |
parseWsOsArch(String unparsed)
Parses ws.os.arch strings (which is how SWT bundles are specified).
|
String |
platformFilter()
Returns a string appropriate as an Eclipse-PlatformFilter in a MANIFEST.MF
|
Map<String,String> |
platformProperties()
Returns a map containing the platform properties.
|
String |
toString()
Returns "ws.os.arch", which is how SWT bundles are named.
|
public String getWs()
public String getOs()
public String getArch()
public String toString()
public String platformFilter()
public Map<String,String> platformProperties()
public String getWuffString()
public static SwtPlatform parseWsOsArch(String unparsed)
public static SwtPlatform getNative()
public static SwtPlatform getRunning()
public static SwtPlatform fromOS(OS raw)
public static List<SwtPlatform> getAll()