org.basex.core.proc
Class Check
java.lang.Object
org.basex.core.Progress
org.basex.core.Proc
org.basex.core.proc.Check
public final class Check
- extends Proc
Evaluates the 'open' command and opens a database.
- Author:
- Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen
Constructor Summary |
Check(String path)
Default constructor. |
Method Summary |
static Data |
check(Context ctx,
String path)
Opens the specified database; if it does not exist, create a new
database instance. |
Check
public Check(String path)
- Default constructor.
- Parameters:
path
- file path
check
public static Data check(Context ctx,
String path)
throws IOException
- Opens the specified database; if it does not exist, create a new
database instance.
- Parameters:
ctx
- database contextpath
- document path
- Returns:
- data reference
- Throws:
IOException
- I/O exception