Returns a database instance from the specified parser. @param name name of the database @param parser input parser @param ctx database context @param options main options @return new database instance @throws IOException I/O exception
(final String name, final Parser parser, final Context ctx,
final MainOptions options)
| 148 | * @throws IOException I/O exception |
| 149 | */ |
| 150 | public static synchronized Data create(final String name, final Parser parser, final Context ctx, |
| 151 | final MainOptions options) throws IOException { |
| 152 | return create(name, parser, ctx, options, options.get(MainOptions.MAINMEM)); |
| 153 | } |
| 154 | |
| 155 | /** |
| 156 | * Creates a new database instance, using the specified parser. |