Class AbstractVaultFsConfig
- java.lang.Object
 - 
- org.apache.jackrabbit.vault.fs.config.AbstractVaultFsConfig
 
 
- 
- All Implemented Interfaces:
 VaultFsConfig
public abstract class AbstractVaultFsConfig extends java.lang.Object implements VaultFsConfig
JcrFsConfig... 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTR_VERSION- 
Fields inherited from interface org.apache.jackrabbit.vault.fs.api.VaultFsConfig
NAME_USE_BINARY_REFERENCES 
 - 
 
- 
Constructor Summary
Constructors Constructor Description AbstractVaultFsConfig() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Aggregator>getAggregators()Returns a list of configured aggregators.java.util.List<ArtifactHandler>getHandlers()Returns a list of configured artifact handlers.java.lang.StringgetProperty(java.lang.String name)Returns the configuration property with the given name ornullif it is not defined.java.io.InputStreamgetSource()Returns an input stream that contains the source xml that constructs this configjava.lang.StringgetSourceAsString()Returns the source xml that constructs this configstatic VaultFsConfigload(java.io.File file)static VaultFsConfigload(java.io.InputStream in, java.lang.String name)The specified stream remains open after this method returns. 
 - 
 
- 
- 
Field Detail
- 
ATTR_VERSION
public static final java.lang.String ATTR_VERSION
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
load
public static VaultFsConfig load(java.io.File file) throws ConfigurationException, java.io.IOException
- Throws:
 ConfigurationExceptionjava.io.IOException
 
- 
load
public static VaultFsConfig load(java.io.InputStream in, java.lang.String name) throws ConfigurationException, java.io.IOException
The specified stream remains open after this method returns.
- Parameters:
 in-name-- Returns:
 - Throws:
 ConfigurationExceptionjava.io.IOException
 
- 
getProperty
public java.lang.String getProperty(java.lang.String name)
Description copied from interface:VaultFsConfigReturns the configuration property with the given name ornullif it is not defined.- Specified by:
 getPropertyin interfaceVaultFsConfig- Parameters:
 name- the name of the property- Returns:
 - the value or null
 
 
- 
getSource
public java.io.InputStream getSource()
Description copied from interface:VaultFsConfigReturns an input stream that contains the source xml that constructs this config- Specified by:
 getSourcein interfaceVaultFsConfig- Returns:
 - the source config
 
 
- 
getSourceAsString
public java.lang.String getSourceAsString()
Description copied from interface:VaultFsConfigReturns the source xml that constructs this config- Specified by:
 getSourceAsStringin interfaceVaultFsConfig- Returns:
 - the source xml
 
 
- 
getAggregators
public java.util.List<Aggregator> getAggregators()
Description copied from interface:VaultFsConfigReturns a list of configured aggregators.- Specified by:
 getAggregatorsin interfaceVaultFsConfig- Returns:
 - the configured aggregators.
 
 
- 
getHandlers
public java.util.List<ArtifactHandler> getHandlers()
Description copied from interface:VaultFsConfigReturns a list of configured artifact handlers.- Specified by:
 getHandlersin interfaceVaultFsConfig- Returns:
 - the configured artifact handlers.
 
 
 - 
 
 -