Class AbstractConfig
java.lang.Object
org.apache.jackrabbit.vault.fs.config.AbstractConfig
- Direct Known Subclasses:
VaultAuthConfig,VaultSettings
VaultUserConfig...-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidprotected abstract voiddoWrite(XMLStreamWriter writer) protected abstract voiddoWrite(ContentHandler handler) protected abstract Stringprotected abstract doublebooleanbooleanload(InputStream in) The specified stream remains open after this method returns.voidvoidvoidsave(OutputStream out) protected voidwrite(XMLStreamWriter writer) protected voidwrite(ContentHandler handler) Deprecated.
-
Field Details
-
log
protected static org.slf4j.Logger log -
DIR_NAME
- See Also:
-
ATTR_VERSION
- See Also:
-
version
protected double version
-
-
Constructor Details
-
AbstractConfig
public AbstractConfig()
-
-
Method Details
-
getRootElemName
-
getSupportedVersion
protected abstract double getSupportedVersion() -
load
- Throws:
ConfigurationException
-
doLoad
- Throws:
ConfigurationException
-
load
- Throws:
IOExceptionConfigurationException
-
load
The specified stream remains open after this method returns.
- Parameters:
in-- Returns:
- Throws:
IOExceptionConfigurationException
-
save
- Throws:
IOException
-
save
- Throws:
IOException
-
getConfigDir
- Throws:
IOException
-
write
Deprecated.- Throws:
SAXException
-
doWrite
- Throws:
SAXException
-
write
- Throws:
XMLStreamException
-
doWrite
- Throws:
XMLStreamException
-