Constructor FSDirectory
FSDirectory(DirectoryInfo)
Declaration
protected FSDirectory(DirectoryInfo dir)
Parameters
Type | Name | Description |
---|---|---|
DirectoryInfo | dir |
FSDirectory(DirectoryInfo, LockFactory)
Create a new FSDirectory for the named location (ctor for subclasses).
Declaration
protected FSDirectory(DirectoryInfo path, LockFactory lockFactory)
Parameters
Type | Name | Description |
---|---|---|
DirectoryInfo | path | the path of the directory |
LockFactory | lockFactory | the lock factory to use, or null for the default (NativeFSLockFactory); |