jdbm
Class RecordManagerFactory

java.lang.Object
  extended by jdbm.RecordManagerFactory

public final class RecordManagerFactory
extends java.lang.Object

This is the factory class to use for instantiating RecordManager instances.

Version:
$Id: RecordManagerFactory.java,v 1.2 2005/06/25 23:12:31 doomdark Exp $
Author:
Alex Boisvert, Cees de Groot

Constructor Summary
RecordManagerFactory()
           
 
Method Summary
static RecordManager createRecordManager(java.lang.String name)
          Create a record manager.
static RecordManager createRecordManager(java.lang.String name, java.util.Properties options)
          Create a record manager.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordManagerFactory

public RecordManagerFactory()
Method Detail

createRecordManager

public static RecordManager createRecordManager(java.lang.String name)
                                         throws java.io.IOException
Create a record manager.

Parameters:
name - Name of the record file.
Throws:
java.io.IOException - if an I/O related exception occurs while creating or opening the record manager.
java.lang.UnsupportedOperationException - if some options are not supported by the implementation.
java.lang.IllegalArgumentException - if some options are invalid.

createRecordManager

public static RecordManager createRecordManager(java.lang.String name,
                                                java.util.Properties options)
                                         throws java.io.IOException
Create a record manager.

Parameters:
name - Name of the record file.
options - Record manager options.
Throws:
java.io.IOException - if an I/O related exception occurs while creating or opening the record manager.
java.lang.UnsupportedOperationException - if some options are not supported by the implementation.
java.lang.IllegalArgumentException - if some options are invalid.


Cees de Groot (C) 2000. All rights reserved http://jdbm.sourceforge.net