hu.elte.tribus.util.idx
Class DaoDirectory

java.lang.Object
  extended by org.apache.lucene.store.Directory
      extended by hu.elte.tribus.util.idx.DaoDirectory

public class DaoDirectory
extends org.apache.lucene.store.Directory

Author:
kocka

Constructor Summary
DaoDirectory()
           
 
Method Summary
 void close()
           
 org.apache.lucene.store.IndexOutput createOutput(java.lang.String arg0)
           
 void deleteFile(java.lang.String name)
           
 boolean fileExists(java.lang.String name)
           
 long fileLength(java.lang.String arg0)
           
 long fileModified(java.lang.String arg0)
           
 IdxDao getDao()
           
 java.lang.String[] list()
           
 org.apache.lucene.store.Lock makeLock(java.lang.String arg0)
           
 org.apache.lucene.store.IndexInput openInput(java.lang.String arg0)
           
 void renameFile(java.lang.String arg0, java.lang.String arg1)
           
 void setDao(IdxDao dao)
           
 void touchFile(java.lang.String arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaoDirectory

public DaoDirectory()
Method Detail

close

public void close()
           throws java.io.IOException
Specified by:
close in class org.apache.lucene.store.Directory
Throws:
java.io.IOException

createOutput

public org.apache.lucene.store.IndexOutput createOutput(java.lang.String arg0)
                                                 throws java.io.IOException
Specified by:
createOutput in class org.apache.lucene.store.Directory
Throws:
java.io.IOException

deleteFile

public void deleteFile(java.lang.String name)
                throws java.io.IOException
Specified by:
deleteFile in class org.apache.lucene.store.Directory
Throws:
java.io.IOException

fileExists

public boolean fileExists(java.lang.String name)
                   throws java.io.IOException
Specified by:
fileExists in class org.apache.lucene.store.Directory
Throws:
java.io.IOException

fileLength

public long fileLength(java.lang.String arg0)
                throws java.io.IOException
Specified by:
fileLength in class org.apache.lucene.store.Directory
Throws:
java.io.IOException

fileModified

public long fileModified(java.lang.String arg0)
                  throws java.io.IOException
Specified by:
fileModified in class org.apache.lucene.store.Directory
Throws:
java.io.IOException

list

public java.lang.String[] list()
                        throws java.io.IOException
Specified by:
list in class org.apache.lucene.store.Directory
Throws:
java.io.IOException

makeLock

public org.apache.lucene.store.Lock makeLock(java.lang.String arg0)
Specified by:
makeLock in class org.apache.lucene.store.Directory

openInput

public org.apache.lucene.store.IndexInput openInput(java.lang.String arg0)
                                             throws java.io.IOException
Specified by:
openInput in class org.apache.lucene.store.Directory
Throws:
java.io.IOException

renameFile

public void renameFile(java.lang.String arg0,
                       java.lang.String arg1)
                throws java.io.IOException
Specified by:
renameFile in class org.apache.lucene.store.Directory
Throws:
java.io.IOException

touchFile

public void touchFile(java.lang.String arg0)
               throws java.io.IOException
Specified by:
touchFile in class org.apache.lucene.store.Directory
Throws:
java.io.IOException

getDao

public IdxDao getDao()

setDao

public void setDao(IdxDao dao)


Copyright © 2006-2007. All Rights Reserved.