C# Class Lucene.Net.Store.MockIndexInputWrapper

Used by MockDirectoryWrapper to create an input stream that keeps track of when it's been closed.
Inheritance: IndexInput
ファイルを表示 Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
Clone ( ) : object
Dispose ( ) : void
Length ( ) : long
MockIndexInputWrapper ( MockDirectoryWrapper dir, string name, IndexInput @delegate ) : System

Construct an empty output buffer.

ReadByte ( ) : byte
ReadBytes ( byte b, int offset, int len ) : void
ReadBytes ( byte b, int offset, int len, bool useBuffer ) : void
ReadInt ( ) : int
ReadLong ( ) : long
ReadShort ( ) : short
ReadString ( ) : string
ReadStringStringMap ( ) : string>.IDictionary
ReadVInt ( ) : int
ReadVLong ( ) : long
Seek ( long pos ) : void
ToString ( ) : string

Private Methods

Method Description
EnsureOpen ( ) : void

Method Details

Clone() public method

public Clone ( ) : object
return object

Dispose() public method

public Dispose ( ) : void
return void

Length() public method

public Length ( ) : long
return long

MockIndexInputWrapper() public method

Construct an empty output buffer.
public MockIndexInputWrapper ( MockDirectoryWrapper dir, string name, IndexInput @delegate ) : System
dir MockDirectoryWrapper
name string
@delegate IndexInput
return System

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadBytes() public method

public ReadBytes ( byte b, int offset, int len ) : void
b byte
offset int
len int
return void

ReadBytes() public method

public ReadBytes ( byte b, int offset, int len, bool useBuffer ) : void
b byte
offset int
len int
useBuffer bool
return void

ReadInt() public method

public ReadInt ( ) : int
return int

ReadLong() public method

public ReadLong ( ) : long
return long

ReadShort() public method

public ReadShort ( ) : short
return short

ReadString() public method

public ReadString ( ) : string
return string

ReadStringStringMap() public method

public ReadStringStringMap ( ) : string>.IDictionary
return string>.IDictionary

ReadVInt() public method

public ReadVInt ( ) : int
return int

ReadVLong() public method

public ReadVLong ( ) : long
return long

Seek() public method

public Seek ( long pos ) : void
pos long
return void

ToString() public method

public ToString ( ) : string
return string