public abstract class AbstractConfig extends Object
VaultUserConfig...| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_VERSION |
static String |
DIR_NAME |
| Constructor and Description |
|---|
AbstractConfig() |
| Modifier and Type | Method and Description |
|---|---|
File |
getConfigDir() |
void |
load(Element doc) |
boolean |
load(File configFile) |
boolean |
load(InputStream in)
The specified stream remains open after this method returns.
|
void |
save(File configFile) |
void |
save(OutputStream out) |
public static final String DIR_NAME
public static final String ATTR_VERSION
public void load(Element doc) throws ConfigurationException
ConfigurationExceptionpublic boolean load(File configFile) throws IOException, ConfigurationException
IOExceptionConfigurationExceptionpublic boolean load(InputStream in) throws IOException, ConfigurationException
The specified stream remains open after this method returns.
in - IOExceptionConfigurationExceptionpublic void save(File configFile) throws IOException
IOExceptionpublic void save(OutputStream out) throws IOException
IOExceptionpublic File getConfigDir() throws IOException
IOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved