public static FSDirectory newFSDirectory(Class<? extends FSDirectory> clazz,Path path) throws ReflectiveOperationException {
  return newFSDirectory(clazz,path,FSLockFactory.getDefault());
}

public static FSDirectory newFSDirectory ( Class < ? extends FSDirectory > clazz , Path path ) throws ReflectiveOperationException { return newFSDirectory ( clazz , path , FSLockFactory . getDefault ( ) ) ; }
creates a new specific fsdirectory instance
