org.basex.core.proc
Class Open
java.lang.Object
org.basex.core.Progress
org.basex.core.Proc
org.basex.core.proc.Open
public final class Open
- extends Proc
Evaluates the 'open' command and opens a database.
- Author:
- Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen
Constructor Summary |
Open(String name)
Default constructor. |
Open
public Open(String name)
- Default constructor.
- Parameters:
name
- name of database
open
public static Data open(Context ctx,
String db)
throws IOException
- Opens the specified database.
- Parameters:
ctx
- database contextdb
- name of database
- Returns:
- data reference
- Throws:
IOException
- I/O exception