public final class DdmConstants
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CURRENT_PLATFORM
Returns current platform, one of
PLATFORM_WINDOWS, PLATFORM_DARWIN,
PLATFORM_LINUX or PLATFORM_UNKNOWN. |
static java.lang.String |
DOT_TRACE
Extension for Traceview files.
|
static java.lang.String |
EXTENSION |
static java.lang.String |
FN_HPROF_CONVERTER
hprof-conv executable (with extension for the current OS)
|
static java.lang.String |
FN_TRACEVIEW
traceview executable (with extension for the current OS)
|
static int |
PLATFORM_DARWIN |
static int |
PLATFORM_LINUX |
static int |
PLATFORM_UNKNOWN |
static int |
PLATFORM_WINDOWS |
| Constructor and Description |
|---|
DdmConstants() |
| Modifier and Type | Method and Description |
|---|---|
static int |
currentPlatform()
Returns current platform
|
public static final int PLATFORM_UNKNOWN
public static final int PLATFORM_LINUX
public static final int PLATFORM_WINDOWS
public static final int PLATFORM_DARWIN
public static final int CURRENT_PLATFORM
PLATFORM_WINDOWS, PLATFORM_DARWIN,
PLATFORM_LINUX or PLATFORM_UNKNOWN.public static final java.lang.String EXTENSION
public static final java.lang.String DOT_TRACE
public static final java.lang.String FN_HPROF_CONVERTER
public static final java.lang.String FN_TRACEVIEW
public static int currentPlatform()
PLATFORM_WINDOWS, PLATFORM_DARWIN,
PLATFORM_LINUX or PLATFORM_UNKNOWN.