public class DirectoryV3Adaptor extends Object implements InternalDirectoryContract
| Constructor and Description |
|---|
DirectoryV3Adaptor(org.apache.lucene.store.Directory directory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
fileExists(String fileName) |
long |
fileLength(String fileName) |
long |
fileModified(String fileName) |
String[] |
listAll() |
org.apache.lucene.store.IndexInput |
openInput(String fileName) |
public DirectoryV3Adaptor(org.apache.lucene.store.Directory directory)
public String[] listAll() throws IOException
listAll in interface InternalDirectoryContractIOExceptionpublic long fileLength(String fileName) throws IOException
fileLength in interface InternalDirectoryContractIOExceptionpublic void close()
throws IOException
close in interface InternalDirectoryContractIOExceptionpublic long fileModified(String fileName) throws IOException
fileModified in interface InternalDirectoryContractIOExceptionpublic org.apache.lucene.store.IndexInput openInput(String fileName) throws IOException
openInput in interface InternalDirectoryContractIOExceptionpublic boolean fileExists(String fileName) throws IOException
fileExists in interface InternalDirectoryContractIOExceptionCopyright © 2014 JBoss, a division of Red Hat. All rights reserved.