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 InternalDirectoryContract
IOException
public long fileLength(String fileName) throws IOException
fileLength
in interface InternalDirectoryContract
IOException
public void close() throws IOException
close
in interface InternalDirectoryContract
IOException
public long fileModified(String fileName) throws IOException
fileModified
in interface InternalDirectoryContract
IOException
public org.apache.lucene.store.IndexInput openInput(String fileName) throws IOException
openInput
in interface InternalDirectoryContract
IOException
public boolean fileExists(String fileName) throws IOException
fileExists
in interface InternalDirectoryContract
IOException
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.