public class VectorFileRandomAccess extends Object
| Constructor and Description |
|---|
VectorFileRandomAccess(VAFileParams params)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes
|
void |
moveTo(long recNum)
Move to the specified record
|
void |
open()
Opens
|
VectorFileEntry |
read()
Reads an entry
|
void |
write(VectorFileEntry entry)
Writes an entry
|
public VectorFileRandomAccess(VAFileParams params) throws Exception
params - Teh VAFile parametersException - An errorpublic void moveTo(long recNum)
throws Exception
recNum - The record numberException - An errorpublic void write(VectorFileEntry entry) throws Exception
entry - The entryException - An errorpublic VectorFileEntry read() throws Exception
Exception - An errorCopyright © 2014. All Rights Reserved.