public final class CDatapoolHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MISSING
Missing value.
|
static int |
WRONGFORMAT
Wrong Format.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
getBoolean(IDatapool aDp,
java.lang.String aPath,
java.lang.String aKey)
Get a boolean from the datapool.
|
static boolean |
getBoolean(IDatapool aDp,
java.lang.String aPath,
java.lang.String aKey,
boolean aDefault)
Get a boolean from the datapool.
|
static java.lang.String |
getCombinedKey(java.lang.String aPath,
java.lang.String aKey)
Create a combined key from the path and the key of a datapool record.
|
static int |
getInteger(IDatapool aDp,
java.lang.String aPath,
java.lang.String aKey)
Get an integer from the datapool.
|
static int |
getInteger(IDatapool aDp,
java.lang.String aPath,
java.lang.String aKey,
int aDefault)
Get an integer from the datapool.
|
static long |
getLong(IDatapool aDp,
java.lang.String aPath,
java.lang.String aKey)
Get a long value from the datapool.
|
static long |
getLong(IDatapool aDp,
java.lang.String aPath,
java.lang.String aKey,
long aDefault)
Get a long value from the datapool.
|
public static final int MISSING
public static final int WRONGFORMAT
public static boolean getBoolean(IDatapool aDp, java.lang.String aPath, java.lang.String aKey)
aDp
- The datapool.aPath
- The path.aKey
- The key.public static boolean getBoolean(IDatapool aDp, java.lang.String aPath, java.lang.String aKey, boolean aDefault)
aDp
- The datapool.aPath
- The path.aKey
- The key.aDefault
- Default valuepublic static java.lang.String getCombinedKey(java.lang.String aPath, java.lang.String aKey)
aPath/aKey
aPath
- The path of a datapool record.aKey
- The key of a datapool record.aPath/aKey
.public static int getInteger(IDatapool aDp, java.lang.String aPath, java.lang.String aKey)
aDp
- The datapool.aPath
- The path.aKey
- The key.public static int getInteger(IDatapool aDp, java.lang.String aPath, java.lang.String aKey, int aDefault)
aDp
- The datapool.aPath
- The path.aKey
- The key.aDefault
- Default valuepublic static long getLong(IDatapool aDp, java.lang.String aPath, java.lang.String aKey)
aDp
- The datapool.aPath
- The path.aKey
- The key.public static long getLong(IDatapool aDp, java.lang.String aPath, java.lang.String aKey, long aDefault)
aDp
- The datapool.aPath
- The path.aKey
- The key.aDefault
- Default value