public class PropertyAccessor extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getBoolean(Propertied props,
String key) |
static boolean |
getBoolean(Propertied props,
String key,
boolean defaultValue) |
static int |
getInt(Propertied props,
String key) |
static int |
getInt(Propertied props,
String key,
int defaultValue) |
static String |
getString(Propertied props,
String key,
String defaultValue) |
static void |
set(Propertied props,
String key,
boolean value) |
static void |
set(Propertied props,
String key,
int value) |
public static String getString(Propertied props, String key, String defaultValue)
public static int getInt(Propertied props, String key, int defaultValue)
public static int getInt(Propertied props, String key)
public static boolean getBoolean(Propertied props, String key, boolean defaultValue)
public static boolean getBoolean(Propertied props, String key)
public static void set(Propertied props, String key, int value)
public static void set(Propertied props, String key, boolean value)
Copyright © 2021 The Apache Software Foundation. All rights reserved.