java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QProcessEnvironment
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QProcessEnvironment extends QtObject implements Cloneable
Holds the environment variables that can be passed to a program
Java wrapper for Qt class QProcessEnvironment
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QProcessEnvironment()
QProcessEnvironment(QProcessEnvironment other)
protected
QProcessEnvironment(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
clear()
QProcessEnvironment
clone()
boolean
contains(String name)
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
void
insert(QProcessEnvironment e)
void
insert(String name, String value)
boolean
isEmpty()
List<String>
keys()
void
remove(String name)
void
swap(QProcessEnvironment other)
static QProcessEnvironment
systemEnvironment()
Returns the environment of the calling processList<String>
toStringList()
String
value(String name)
Overloaded function forvalue(java.lang.String, java.lang.String)
withdefaultValue = ""
.String
value(String name, String defaultValue)
-
Constructor Details
-
QProcessEnvironment
public QProcessEnvironment() -
QProcessEnvironment
-
QProcessEnvironment
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
clear
-
contains
-
insert
-
insert
-
isEmpty
-
keys
-
remove
-
swap
-
toStringList
-
value
Overloaded function for
value(java.lang.String, java.lang.String)
withdefaultValue = ""
. -
value
-
systemEnvironment
Returns the environment of the calling process
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
public int hashCode() -
clone
-