public final class Macro extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getGlobal(String name)
Get the contents of a global macro.
|
static String |
getGlobalSafe(String name)
Get the contents of a global macro without returning null.
|
static String |
getLocal(String name)
Get the contents of a local macro.
|
static String |
getLocalSafe(String name)
Get the contents of a local macro without returning null.
|
static int |
setGlobal(String name,
String value)
Set the value of a global macro.
|
static int |
setLocal(String name,
String value)
Set the value of a local macro.
|
public static String getGlobal(String name)
name
- Name of the macro.public static String getGlobalSafe(String name)
name
- Name of the macro.public static String getLocal(String name)
name
- Name of the macro.public static String getLocalSafe(String name)
name
- Name of the macro.public static int setGlobal(String name, String value)
name
- Name of the macro.value
- Value to store in the macro.