|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.store._TestHelper
public class _TestHelper
This class provides access to package-level features defined in the store package. It is used for testing only.
| Constructor Summary | |
|---|---|
_TestHelper()
|
|
| Method Summary | |
|---|---|
static boolean |
isSimpleFSIndexInput(org.apache.lucene.store.IndexInput is)
Returns true if the instance of the provided input stream is actually an SimpleFSIndexInput. |
static boolean |
isSimpleFSIndexInputClone(org.apache.lucene.store.IndexInput is)
Returns true if the provided input stream is an SimpleFSIndexInput and is a clone, that is it does not own its underlying file descriptor. |
static boolean |
isSimpleFSIndexInputOpen(org.apache.lucene.store.IndexInput is)
Given an instance of SimpleFSDirectory.SimpleFSIndexInput, this method returns true if the underlying file descriptor is valid, and false otherwise. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public _TestHelper()
| Method Detail |
|---|
public static boolean isSimpleFSIndexInput(org.apache.lucene.store.IndexInput is)
public static boolean isSimpleFSIndexInputClone(org.apache.lucene.store.IndexInput is)
public static boolean isSimpleFSIndexInputOpen(org.apache.lucene.store.IndexInput is)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||