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.Process
              extended by org.basex.core.proc.Open

public final class Open
extends Process

Opens an existing database.

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

Field Summary
 
Fields inherited from class org.basex.core.Process
args
 
Constructor Summary
Open(java.lang.String name)
          Constructor.
 
Method Summary
static Data open(java.lang.String db)
          Static method for opening a database.
 
Methods inherited from class org.basex.core.Process
args, data, error, execute, execute, info, info, info, name, output, printing, result, toString, updating
 
Methods inherited from class org.basex.core.Progress
checkStop, det, detail, prog, progress, progress, stop, title
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Open

public Open(java.lang.String name)
Constructor.

Parameters:
name - name of database
Method Detail

open

public static Data open(java.lang.String db)
                 throws java.io.IOException
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
Throws:
java.io.IOException - exception