![]() |
All Packages This Package Class Hierarchy Class Search Index Class calypso.util.RandomAccessFileWithByteLinesjava.lang.Object | +----calypso.util.RandomAccessFileWithByteLines
public class RandomAccessFileWithByteLines
extends java.lang.Object
{
// Fields 5
static final int INITBUFSIZE;
protected byte[] fBuffer;
protected int fEnd;
protected RandomAccessFile fInput;
protected int fOffset;
// Constructors 1
public RandomAccessFileWithByteLines(RandomAccessFile);
// Methods 7
public boolean eatNewline() throws IOException;
protected boolean fill() throws IOException;
protected boolean fillForCapacity(int) throws IOException;
public long getFilePointer() throws IOException;
public void readFully(byte[], int, int) throws IOException;
public boolean readLine(ByteBuf) throws IOException;
public void seek(long) throws IOException;
}
Fields INITBUFSIZEstatic final int INITBUFSIZE fInputprotected RandomAccessFile fInput fBufferprotected byte[] fBuffer fOffsetprotected int fOffset fEndprotected int fEnd
Constructors RandomAccessFileWithByteLinespublic RandomAccessFileWithByteLines(RandomAccessFile f) Methods readLinepublic boolean readLine(ByteBuf buf) throws IOException eatNewlinepublic boolean eatNewline() throws IOException
getFilePointerpublic long getFilePointer() throws IOException seekpublic void seek(long loc) throws IOException fillprotected boolean fill() throws IOException fillForCapacityprotected boolean fillForCapacity(int capacity) throws IOException
readFully
public void readFully(byte[] arr,
int off,
int length) throws IOException
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4 |
|
|
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998. |
|