Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.basex.core.proc
Class DropDB

    java.lang.Object
      org.basex.core.Progress
          org.basex.core.AbstractProcess
              org.basex.core.Process
                  org.basex.core.proc.DropDB

    public final class DropDB

extends Process

Evaluates the 'drop database' command.

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
`DropDB(java.lang.String n)` Constructor.

Method Summary
`static boolean` | `drop(java.lang.String db)` Delete a database.
`java.lang.String` | `toString()`

Methods inherited from class org.basex.core.Process
`args, data, error, execute, execute, info, info, info, name, output, printing, result, 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

### DropDB

    public DropDB(java.lang.String n)

  Constructor.

  Parameters:
    `n` - name of database

Method Detail

### drop

    public static boolean drop(java.lang.String db)

  Delete a database.

  Parameters:
    `db` - database name
  Returns:
    success of operation

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `Process`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD