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