public final class RecordManagerFactory extends Object
RecordManager
instances.Constructor and Description |
---|
RecordManagerFactory() |
Modifier and Type | Method and Description |
---|---|
static RecordManager |
createRecordManager(String name)
Create a record manager.
|
static RecordManager |
createRecordManager(String name,
Properties options)
Create a record manager.
|
public static RecordManager createRecordManager(String name) throws IOException
name
- Name of the record file.IOException
- if an I/O related exception occurs while creating
or opening the record manager.UnsupportedOperationException
- if some options are not supported by the
implementation.IllegalArgumentException
- if some options are invalid.public static RecordManager createRecordManager(String name, Properties options) throws IOException
name
- Name of the record file.options
- Record manager options.IOException
- if an I/O related exception occurs while creating
or opening the record manager.UnsupportedOperationException
- if some options are not supported by the
implementation.IllegalArgumentException
- if some options are invalid.Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.