Method NewFSDirectory
NewFSDirectory(String, DirectoryInfo)
Creates a specific FSDirectory instance starting from its class name.
Declaration
public static FSDirectory NewFSDirectory(string clazzName, DirectoryInfo dir)
Parameters
Type | Name | Description |
---|---|---|
System.String | clazzName | The name of the FSDirectory class to load. |
DirectoryInfo | dir | The |
Returns
Type | Description |
---|---|
FSDirectory | The new FSDirectory instance |
NewFSDirectory(Type, DirectoryInfo)
Creates a new specific FSDirectory instance.
Declaration
public static FSDirectory NewFSDirectory(Type clazz, DirectoryInfo dir)
Parameters
Type | Name | Description |
---|---|---|
Type | clazz | The class of the object to be created |
DirectoryInfo | dir | The |
Returns
Type | Description |
---|---|
FSDirectory | The new FSDirectory instance. |