org.basex.core.proc
Class List

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

public final class List
extends Proc

Evaluates the 'list' command and shows all available databases.

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
List()
          Default constructor.
 
Method Summary
static StringList list(Context ctx)
          Returns a list of all databases.
static StringList listFS(Context ctx)
          Returns a list of all DeepFS databases.
 
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

List

public List()
Default constructor.

Method Detail

list

public static StringList list(Context ctx)
Returns a list of all databases.

Parameters:
ctx - context reference
Returns:
available databases

listFS

public static StringList listFS(Context ctx)
Returns a list of all DeepFS databases.

Parameters:
ctx - context reference
Returns:
available databases