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 StringATTR_VERSIONstatic StringDIR_NAME
-
Constructor Summary
Constructors Constructor Description AbstractConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilegetConfigDir()booleanload(File configFile)booleanload(InputStream in)The specified stream remains open after this method returns.voidload(Element doc)voidsave(File configFile)voidsave(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:
IOExceptionConfigurationException
-
load
public boolean load(InputStream in) throws IOException, ConfigurationException
The specified stream remains open after this method returns.
- Parameters:
in-- Returns:
- Throws:
IOExceptionConfigurationException
-
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
-
-