org.basex.core.proc
Class Open

java.lang.Object
  extended by org.basex.core.Progress
      extended by org.basex.core.AbstractProcess
          extended by org.basex.core.proc.Proc
              extended by org.basex.core.proc.Open

public final class Open
extends Proc

Evaluates the 'open' command. Opens the specified database.

Author:
Workgroup DBIS, University of Konstanz 2005-07, ISC License, Christian Gruen

Field Summary
 
Fields inherited from class org.basex.core.AbstractProcess
cmd
 
Constructor Summary
Open()
           
 
Method Summary
static Data open(java.lang.String db)
          Static method for opening a database.
 
Methods inherited from class org.basex.core.proc.Proc
det, execute, execute, get, head, info, info, output, output, prog, result, toString
 
Methods inherited from class org.basex.core.Progress
detail, header, progress, progress, stop, stopped
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Open

public Open()
Method Detail

open

public static Data open(java.lang.String db)
Static method for opening a database. No warnings are thrown; instead, an empty reference is returned.

Parameters:
db - database to be opened
Returns:
data reference