Class DirectoryUtil
- java.lang.Object
-
- com.atlassian.confluence.internal.search.v2.lucene.DirectoryUtil
-
public class DirectoryUtil extends Object
- Since:
- 8.0
-
-
Constructor Summary
Constructors Constructor Description DirectoryUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.lucene.store.Directory
getDirectory(File path)
get a Directory from a path and don't throw a whingy bloody IOException.
-
-
-
Method Detail
-
getDirectory
public static org.apache.lucene.store.Directory getDirectory(File path)
get a Directory from a path and don't throw a whingy bloody IOException. Upgrade the index version if incompatible with the current version.
-
-