Class PlatformPropertiesUtils
- java.lang.Object
-
- org.eclipse.tycho.core.resolver.shared.PlatformPropertiesUtils
-
public class PlatformPropertiesUtils extends Object
Creative copy&paste from org.eclipse.equinox.internal.launcher.Constants and org.eclipse.equinox.launcher.Main.- Author:
- aniefer, igor
-
-
Field Summary
Fields Modifier and Type Field Description static String
ARCH_PPC
static String
ARCH_X86
static String
ARCH_X86_64
static String
INTERNAL_AMD64
static String
INTERNAL_ARCH_I386
static String
INTERNAL_OS_AIX
static String
INTERNAL_OS_FREEBSD
static String
INTERNAL_OS_HPUX
static String
INTERNAL_OS_LINUX
static String
INTERNAL_OS_MACOSX
static String
INTERNAL_OS_QNX
static String
INTERNAL_OS_SUNOS
static String
OS_AIX
Constant string (value "aix") indicating the platform is running on an AIX-based operating system.static String
OS_FREEBSD
Constant string (value "freebsd") indicating the platform is running on a FreeBSD operating system.static String
OS_HPUX
Constant string (value "hpux") indicating the platform is running on an HP/UX-based operating system.static String
OS_LINUX
Constant string (value "linux") indicating the platform is running on a Linux-based operating system.static String
OS_MACOSX
Constant string (value "macosx") indicating the platform is running on a Mac OS X operating system.static String
OS_QNX
Constant string (value "qnx") indicating the platform is running on a QNX-based operating system.static String
OS_SOLARIS
Constant string (value "solaris") indicating the platform is running on a Solaris-based operating system.static String
OS_UNKNOWN
Constant string (value "unknown") indicating the platform is running on a machine running an unknown operating system.static String
OS_WIN32
Constant string (value "win32") indicating the platform is running on a Window 32-bit operating system (e.g., Windows 98, NT, 2000).static String
OSGI_ARCH
static String
OSGI_NL
static String
OSGI_OS
static String
OSGI_WS
static String
WS_CARBON
Constant string (value "carbon") indicating the platform is running on a machine using the Carbon windowing system (Mac OS X).static String
WS_COCOA
Constant string (value "cocoa") indicating the platform is running on a machine using the Carbon windowing system (Mac OS X).static String
WS_GTK
Constant string (value "gtk") indicating the platform is running on a machine using the GTK windowing system.static String
WS_MOTIF
Constant string (value "motif") indicating the platform is running on a machine using the Motif windowing system.static String
WS_PHOTON
Constant string (value "photon") indicating the platform is running on a machine using the Photon windowing system.static String
WS_UNKNOWN
Constant string (value "unknown") indicating the platform is running on a machine running an unknown windowing system.static String
WS_WIN32
Constant string (value "win32") indicating the platform is running on a machine using the Windows windowing system.static String
WS_WPF
Constant string (value "wpf") indicating the platform is running on a machine using the Windows Presendation Foundation system.
-
Constructor Summary
Constructors Constructor Description PlatformPropertiesUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getArch(Properties properties)
static String
getOS(Properties properties)
static String
getWS(Properties properties)
-
-
-
Field Detail
-
INTERNAL_ARCH_I386
public static final String INTERNAL_ARCH_I386
- See Also:
- Constant Field Values
-
INTERNAL_AMD64
public static final String INTERNAL_AMD64
- See Also:
- Constant Field Values
-
INTERNAL_OS_SUNOS
public static final String INTERNAL_OS_SUNOS
- See Also:
- Constant Field Values
-
INTERNAL_OS_LINUX
public static final String INTERNAL_OS_LINUX
- See Also:
- Constant Field Values
-
INTERNAL_OS_MACOSX
public static final String INTERNAL_OS_MACOSX
- See Also:
- Constant Field Values
-
INTERNAL_OS_AIX
public static final String INTERNAL_OS_AIX
- See Also:
- Constant Field Values
-
INTERNAL_OS_HPUX
public static final String INTERNAL_OS_HPUX
- See Also:
- Constant Field Values
-
INTERNAL_OS_QNX
public static final String INTERNAL_OS_QNX
- See Also:
- Constant Field Values
-
INTERNAL_OS_FREEBSD
public static final String INTERNAL_OS_FREEBSD
- See Also:
- Constant Field Values
-
ARCH_X86
public static final String ARCH_X86
- See Also:
- Constant Field Values
-
ARCH_X86_64
public static final String ARCH_X86_64
- See Also:
- Constant Field Values
-
ARCH_PPC
public static final String ARCH_PPC
- See Also:
- Constant Field Values
-
OSGI_WS
public static final String OSGI_WS
- See Also:
- Constant Field Values
-
OSGI_OS
public static final String OSGI_OS
- See Also:
- Constant Field Values
-
OSGI_ARCH
public static final String OSGI_ARCH
- See Also:
- Constant Field Values
-
OSGI_NL
public static final String OSGI_NL
- See Also:
- Constant Field Values
-
OS_WIN32
public static final String OS_WIN32
Constant string (value "win32") indicating the platform is running on a Window 32-bit operating system (e.g., Windows 98, NT, 2000).- See Also:
- Constant Field Values
-
OS_LINUX
public static final String OS_LINUX
Constant string (value "linux") indicating the platform is running on a Linux-based operating system.- See Also:
- Constant Field Values
-
OS_AIX
public static final String OS_AIX
Constant string (value "aix") indicating the platform is running on an AIX-based operating system.- See Also:
- Constant Field Values
-
OS_SOLARIS
public static final String OS_SOLARIS
Constant string (value "solaris") indicating the platform is running on a Solaris-based operating system.- See Also:
- Constant Field Values
-
OS_HPUX
public static final String OS_HPUX
Constant string (value "hpux") indicating the platform is running on an HP/UX-based operating system.- See Also:
- Constant Field Values
-
OS_QNX
public static final String OS_QNX
Constant string (value "qnx") indicating the platform is running on a QNX-based operating system.- See Also:
- Constant Field Values
-
OS_MACOSX
public static final String OS_MACOSX
Constant string (value "macosx") indicating the platform is running on a Mac OS X operating system.- See Also:
- Constant Field Values
-
OS_FREEBSD
public static final String OS_FREEBSD
Constant string (value "freebsd") indicating the platform is running on a FreeBSD operating system.- See Also:
- Constant Field Values
-
OS_UNKNOWN
public static final String OS_UNKNOWN
Constant string (value "unknown") indicating the platform is running on a machine running an unknown operating system.- See Also:
- Constant Field Values
-
WS_WIN32
public static final String WS_WIN32
Constant string (value "win32") indicating the platform is running on a machine using the Windows windowing system.- See Also:
- Constant Field Values
-
WS_WPF
public static final String WS_WPF
Constant string (value "wpf") indicating the platform is running on a machine using the Windows Presendation Foundation system.- See Also:
- Constant Field Values
-
WS_MOTIF
public static final String WS_MOTIF
Constant string (value "motif") indicating the platform is running on a machine using the Motif windowing system.- See Also:
- Constant Field Values
-
WS_GTK
public static final String WS_GTK
Constant string (value "gtk") indicating the platform is running on a machine using the GTK windowing system.- See Also:
- Constant Field Values
-
WS_PHOTON
public static final String WS_PHOTON
Constant string (value "photon") indicating the platform is running on a machine using the Photon windowing system.- See Also:
- Constant Field Values
-
WS_CARBON
public static final String WS_CARBON
Constant string (value "carbon") indicating the platform is running on a machine using the Carbon windowing system (Mac OS X).- See Also:
- Constant Field Values
-
WS_COCOA
public static final String WS_COCOA
Constant string (value "cocoa") indicating the platform is running on a machine using the Carbon windowing system (Mac OS X).- See Also:
- Constant Field Values
-
WS_UNKNOWN
public static final String WS_UNKNOWN
Constant string (value "unknown") indicating the platform is running on a machine running an unknown windowing system.- See Also:
- Constant Field Values
-
-
Method Detail
-
getWS
public static String getWS(Properties properties)
-
getOS
public static String getOS(Properties properties)
-
getArch
public static String getArch(Properties properties)
-
-