Class AbstractConfig
- java.lang.Object
-
- org.apache.jackrabbit.vault.fs.config.AbstractConfig
-
- Direct Known Subclasses:
VaultAuthConfig,VaultSettings
public abstract class AbstractConfig extends java.lang.ObjectVaultUserConfig...
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTR_VERSIONstatic java.lang.StringDIR_NAME
-
Constructor Summary
Constructors Constructor Description AbstractConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilegetConfigDir()booleanload(java.io.File configFile)booleanload(java.io.InputStream in)The specified stream remains open after this method returns.voidload(org.w3c.dom.Element doc)voidsave(java.io.File configFile)voidsave(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.IOExceptionConfigurationException
-
load
public boolean load(java.io.InputStream in) throws java.io.IOException, ConfigurationExceptionThe specified stream remains open after this method returns.
- Parameters:
in-- Returns:
- Throws:
java.io.IOExceptionConfigurationException
-
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
-
-