RAFo

RandomAccessFile for Objects
C G I R U

C

close() - Method in class com.linxpda.raf.RAFo
Closes the data file and removes the header index from memory.
com.linxpda.raf - package com.linxpda.raf
 
containsKey(String) - Method in class com.linxpda.raf.RAFo
Denotes whether the specified String key points to an object in the file.

G

getKeys() - Method in class com.linxpda.raf.RAFo
Returns an enumeration of all the keys currently referencing objects in the file.
getObject(String) - Method in class com.linxpda.raf.RAFo
Returns the object in the file referenced by the supplied key.
getObjectCount() - Method in class com.linxpda.raf.RAFo
Returns the total number of objects currently stored in the file.

I

insertObject(String, Object) - Method in class com.linxpda.raf.RAFo
Add the specified to the file, referencing it with the supplied key.

R

RAFException - exception com.linxpda.raf.RAFException.
Generic exception class to catch all random access file specific exceptions.
RAFException(String) - Constructor for class com.linxpda.raf.RAFException
 
RAFo - class com.linxpda.raf.RAFo.
This class reads and writes Java™ Objects to a local file, using String keys to reference objects stored.
RAFo(String) - Constructor for class com.linxpda.raf.RAFo
Convenience constructor that attempts to open an existing file with the given filename, if that fails then a new file is created.
RAFo(String, int) - Constructor for class com.linxpda.raf.RAFo
Creates a new data file.
RAFo(String, String) - Constructor for class com.linxpda.raf.RAFo
Opens an existing database and provides access restrictions as per the access parameter.
removeObject(String) - Method in class com.linxpda.raf.RAFo
Removes the object referenced by key from the file.

U

updateObject(String, Object) - Method in class com.linxpda.raf.RAFo
Replaces the object referred to by key with the new object specified.

C G I R U
(c)2001 Linxpda, Inc. www.linxpda.com