lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/store FSDirectory.java
Date Wed, 10 Mar 2004 00:50:41 GMT
ehatcher    2004/03/09 16:50:41

  Modified:    src/java/org/apache/lucene/store FSDirectory.java
  Log:
  add handy getter for the File
  
  Revision  Changes    Path
  1.23      +4 -0      jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java
  
  Index: FSDirectory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- FSDirectory.java	30 Jan 2004 16:36:10 -0000	1.22
  +++ FSDirectory.java	10 Mar 2004 00:50:41 -0000	1.23
  @@ -372,6 +372,10 @@
       }
     }
   
  +  public File getFile() {
  +    return directory;
  +  }
  +
     /** For debug output. */
     public String toString() {
       return "FSDirectory@" + directory;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message