Class Delete


public final class Delete extends ACreate
Evaluates the 'delete' command and deletes resources from a database.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • Delete

      public Delete(String target)
      Default constructor.
      Parameters:
      target - target to delete
  • Method Details

    • run

      protected boolean run()
      Description copied from class: Command
      Executes the command and serializes the result (internal call).
      Specified by:
      run in class Command
      Returns:
      success of operation
    • deleteBinary

      public static void deleteBinary(Data data, String path)
      Deletes the specified binaries.
      Parameters:
      data - data reference
      path - resource to be deleted