newFSDirectory
Creates a specific FSDirectory instance starting from its class name
Return
the new FSDirectory instance
Parameters
The name of the FSDirectory class to load
The path to be used as parameter constructor
The lock factory to be used
Creates a specific FSDirectory instance starting from its class name, using the default lock factory
Return
the new FSDirectory instance
Parameters
The name of the FSDirectory class to load
The path to be used as parameter constructor
Creates a new specific FSDirectory instance
Return
The new FSDirectory instance
Parameters
The class of the object to be created
The file to be used as parameter constructor
Throws
If the Directory does not have a constructor that takes Path.
If the class is abstract or an interface.
If the constructor does not have public visibility.
If the constructor throws an exception