public class XmlConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
XmlConfig.XmlConfigException |
Modifier and Type | Field and Description |
---|---|
static XmlConfig |
BLANKCFG |
static XmlConfig |
NULLCFG |
static String |
NULLMARKER |
static String |
XPATH_ENABLED |
Modifier and Type | Method and Description |
---|---|
boolean |
exists() |
boolean |
getBool(String xpath,
boolean dflt) |
char |
getChar(String xpath,
boolean mdty,
char dflt) |
int |
getInt(String xpath,
boolean mdty,
int dflt) |
char[] |
getPassword(String xpath,
char[] dflt) |
static XmlConfig |
getSection(CharSequence pthnam,
String node_xpath) |
XmlConfig |
getSection(String node_xpath) |
XmlConfig[] |
getSections(String xpath) |
long |
getSize(String xpath,
long dflt) |
long |
getSize(String xpath,
String dflt) |
long |
getTime(String xpath,
long dflt) |
long |
getTime(String xpath,
String dflt) |
String[] |
getTuple(String xpath,
String dlm,
boolean mdty,
String dflt) |
String[] |
getTuple(String xpath,
String dlm,
boolean mdty,
String dflt,
int min,
int max) |
String |
getValue(String xpath,
boolean mdty,
String dflt) |
static XmlConfig |
makeSection(CharSequence xmltxt,
String node_xpath) |
void |
setDefaults(XmlConfig dflts) |
String |
toString() |
public static final String XPATH_ENABLED
public static final String NULLMARKER
public static final XmlConfig NULLCFG
public static final XmlConfig BLANKCFG
public boolean exists()
public static XmlConfig getSection(CharSequence pthnam, String node_xpath)
public static XmlConfig makeSection(CharSequence xmltxt, String node_xpath)
public void setDefaults(XmlConfig dflts)
public int getInt(String xpath, boolean mdty, int dflt)
public char getChar(String xpath, boolean mdty, char dflt)
public boolean getBool(String xpath, boolean dflt)
public long getTime(String xpath, long dflt)
public long getSize(String xpath, long dflt)
public char[] getPassword(String xpath, char[] dflt)
public String[] getTuple(String xpath, String dlm, boolean mdty, String dflt, int min, int max)
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.