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:
Erik Hatcher 2004-03-10 00:50:41 +00:00
parent c230388a92
commit 3c93b62676
1 changed files with 4 additions and 0 deletions

View File

@ -372,6 +372,10 @@ public final class FSDirectory extends Directory {
}
}
public File getFile() {
return directory;
}
/** For debug output. */
public String toString() {
return "FSDirectory@" + directory;