Class AbstractConfig
- java.lang.Object
-
- org.apache.jackrabbit.vault.fs.config.AbstractConfig
-
- Direct Known Subclasses:
VaultAuthConfig
,VaultSettings
public abstract class AbstractConfig extends java.lang.Object
VaultUserConfig
...
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_VERSION
static java.lang.String
DIR_NAME
-
Constructor Summary
Constructors Constructor Description AbstractConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getConfigDir()
boolean
load(java.io.File configFile)
boolean
load(java.io.InputStream in)
The specified stream remains open after this method returns.void
load(org.w3c.dom.Element doc)
void
save(java.io.File configFile)
void
save(java.io.OutputStream out)
-
-
-
Field Detail
-
DIR_NAME
public static final java.lang.String DIR_NAME
- See Also:
- Constant Field Values
-
ATTR_VERSION
public static final java.lang.String ATTR_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
load
public void load(org.w3c.dom.Element doc) throws ConfigurationException
- Throws:
ConfigurationException
-
load
public boolean load(java.io.File configFile) throws java.io.IOException, ConfigurationException
- Throws:
java.io.IOException
ConfigurationException
-
load
public boolean load(java.io.InputStream in) throws java.io.IOException, ConfigurationException
The specified stream remains open after this method returns.
- Parameters:
in
-- Returns:
- Throws:
java.io.IOException
ConfigurationException
-
save
public void save(java.io.File configFile) throws java.io.IOException
- Throws:
java.io.IOException
-
save
public void save(java.io.OutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
getConfigDir
public java.io.File getConfigDir() throws java.io.IOException
- Throws:
java.io.IOException
-
-