GCJIndexInputpublic class GCJIndexInput extends IndexInput Native file-based {@link IndexInput} implementation, using GCJ. |
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.Object | clone()
GCJIndexInput clone = (GCJIndexInput)super.clone();
clone.isClone = true;
return clone;
| public void | close()
if (!isClone)
doClose();
| private native void | doClose()
| public native long | getFilePointer()
| public long | length() return fileLength;
| private native void | open()
| public native byte | readByte()
| public native void | readBytes(byte[] b, int offset, int len)
| public native int | readVInt()
| public native void | seek(long pos)
|
|