org.apache.jackrabbit.core.config
Class FileSystemConfig
java.lang.Object
org.apache.jackrabbit.core.config.BeanConfig
org.apache.jackrabbit.core.config.FileSystemConfig
- public class FileSystemConfig
- extends BeanConfig
File system configuration. This bean configuration class
is used to create a configured file system objects. The file system
is instantiated by the init() method, and accessible
using the getFileSystem() method.
|
Method Summary |
FileSystem |
getFileSystem()
Returns the configured file system. |
void |
init()
Instantiates and initializes the configured file system
implementation class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
init
public void init()
throws ConfigurationException,
IllegalStateException
- Instantiates and initializes the configured file system
implementation class.
- Throws:
ConfigurationException - on file system initialization errors
IllegalStateException - if the file system has already been
initialized
getFileSystem
public FileSystem getFileSystem()
throws IllegalStateException
- Returns the configured file system. The
init() method
must have been called before this method can be invoked.
- Returns:
- configured file system
- Throws:
IllegalStateException - if the file system has not been initialized
Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.