org.basex.core.proc
Class InfoDB

java.lang.Object
  extended by org.basex.core.Progress
      extended by org.basex.core.Process
          extended by org.basex.core.proc.InfoDB

public final class InfoDB
extends Process

Evaluates the 'info database' command and returns information on the currently opened database.

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

Field Summary
 
Fields inherited from class org.basex.core.Process
args
 
Constructor Summary
InfoDB()
          Default constructor.
 
Method Summary
static TokenBuilder db(MetaData meta, boolean bold, boolean index)
          Creates a database information string.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class org.basex.core.Process
args, data, error, execute, execute, info, info, info, output, printing, result, updating
 
Methods inherited from class org.basex.core.Progress
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

InfoDB

public InfoDB()
Default constructor.

Method Detail

db

public static TokenBuilder db(MetaData meta,
                              boolean bold,
                              boolean index)
Creates a database information string.

Parameters:
meta - meta data
bold - header bold header flag
index - add index information
Returns:
info string

toString

public java.lang.String toString()
Description copied from class: Process
Returns a string representation of the object. In the client/server architecture, the command string is sent to and reparsed by the server.

Overrides:
toString in class Process
Returns:
string representation