org.basex.core.proc
Class Close

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

public final class Close
extends Proc

Evaluates the 'close' command and closes the current database.

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

Field Summary
 
Fields inherited from class org.basex.core.Proc
DATAREF, flags, STANDARD
 
Constructor Summary
Close()
          Default constructor.
 
Method Summary
static void close(Context ctx, Data data)
          Closes the specified database.
 
Methods inherited from class org.basex.core.Proc
exec, exec, execute, execute, info, result, toString, updating
 
Methods inherited from class org.basex.core.Progress
abort, checkStop, det, detail, prog, progress, progress, stop, tit, title
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Close

public Close()
Default constructor.

Method Detail

close

public static void close(Context ctx,
                         Data data)
                  throws IOException
Closes the specified database.

Parameters:
ctx - database context
data - data reference
Throws:
IOException - I/O exception