mirror of https://github.com/apache/lucene.git
add handy getter for the File
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150226 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c230388a92
commit
3c93b62676
|
@ -372,6 +372,10 @@ public final class FSDirectory extends Directory {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public File getFile() {
|
||||||
|
return directory;
|
||||||
|
}
|
||||||
|
|
||||||
/** For debug output. */
|
/** For debug output. */
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "FSDirectory@" + directory;
|
return "FSDirectory@" + directory;
|
||||||
|
|
Loading…
Reference in New Issue