C# Класс Lucene.Net.Store.TestHelper

this class provides access to package-level features defined in the store package. It is used for testing only.
Показать файл Открыть проект

Открытые методы

Метод Описание
IsFSInputStreamClone ( Lucene.Net.Store.InputStream is_Renamed ) : bool

Returns true if the provided input stream is an FSInputStream and is a clone, that is it does not own its underlying file descriptor.

IsFSInputStreamOpen ( Lucene.Net.Store.InputStream is_Renamed ) : bool

Given an instance of FSDirectory.FSInputStream, this method returns true if the underlying file descriptor is valid, and false otherwise. This can be used to determine if the OS file has been closed. The descriptor becomes invalid when the non-clone instance of the FSInputStream that owns this descriptor is closed. However, the descriptor may possibly become invalid in other ways as well.

isFSInputStream ( Lucene.Net.Store.InputStream is_Renamed ) : bool

Returns true if the instance of the provided input stream is actually an FSInputStream.

Описание методов

IsFSInputStreamClone() публичный статический Метод

Returns true if the provided input stream is an FSInputStream and is a clone, that is it does not own its underlying file descriptor.
public static IsFSInputStreamClone ( Lucene.Net.Store.InputStream is_Renamed ) : bool
is_Renamed Lucene.Net.Store.InputStream
Результат bool

IsFSInputStreamOpen() публичный статический Метод

Given an instance of FSDirectory.FSInputStream, this method returns true if the underlying file descriptor is valid, and false otherwise. This can be used to determine if the OS file has been closed. The descriptor becomes invalid when the non-clone instance of the FSInputStream that owns this descriptor is closed. However, the descriptor may possibly become invalid in other ways as well.
public static IsFSInputStreamOpen ( Lucene.Net.Store.InputStream is_Renamed ) : bool
is_Renamed Lucene.Net.Store.InputStream
Результат bool

isFSInputStream() публичный статический Метод

Returns true if the instance of the provided input stream is actually an FSInputStream.
public static isFSInputStream ( Lucene.Net.Store.InputStream is_Renamed ) : bool
is_Renamed Lucene.Net.Store.InputStream
Результат bool