FileDocCategorySizeDatePackage
GCJIndexInput.javaAPI DocApache Lucene 1.91752Mon Feb 20 09:20:20 GMT 2006org.apache.lucene.store

GCJIndexInput

public class GCJIndexInput extends IndexInput
Native file-based {@link IndexInput} implementation, using GCJ.
author
Doug Cutting

Fields Summary
private String
file
private int
fd
private long
fileLength
public gnu.gcj.RawData
data
public gnu.gcj.RawData
pointer
private boolean
isClone
Constructors Summary
public GCJIndexInput(String file)

    this.file = file;
    open();
  
Methods Summary
public java.lang.Objectclone()

    GCJIndexInput clone = (GCJIndexInput)super.clone();
    clone.isClone = true;
    return clone;
  
public voidclose()

    if (!isClone)
      doClose();
  
private native voiddoClose()

public native longgetFilePointer()

public longlength()

 return fileLength; 
private native voidopen()

public native bytereadByte()

public native voidreadBytes(byte[] b, int offset, int len)

public native intreadVInt()

public native voidseek(long pos)