public class GLib extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GLib.Types |
| Constructor and Description |
|---|
GLib() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getEnv(String variable)
Returns the value of an environment variable.
|
static boolean |
setEnv(String variable,
String value,
boolean overwrite)
Sets an environment variable.
|
static void |
unsetEnv(String variable)
Removes an environment variable from the environment.
|
public static boolean setEnv(String variable, String value, boolean overwrite)
variable - the environment variable to set, must not contain '='.value - the value to set the variable to.overwrite - whether to change the variable if it already exists.public static String getEnv(String variable)
variable - the environment variable to get.public static void unsetEnv(String variable)
variable - the environment variable to remove, must not contain '='.Copyright © 2021 gstreamer-java. All rights reserved.