Class JsonEditRemove

java.lang.Object
org.jpass.database.JsonEditRemove

public class JsonEditRemove extends Object
Edit or remove credentials from database by id or name
  • Constructor Details

    • JsonEditRemove

      public JsonEditRemove()
      Constructor - load decrypted data in JSON format as String
  • Method Details

    • editByIdOrName

      public static void editByIdOrName(int id, String name, String[] args)
      Edit credentials by id or name (one of them has to be 0 or null)
      Parameters:
      id - id of the credential
      name - name of the credential
      args - arguments to edit
    • removeByIdOrName

      public static void removeByIdOrName(int id, String name)
      Remove credentials by id or name (one of them has to be 0 or null)
      Parameters:
      id - id of the credential
      name - name of the credential
    • getInstance

      public static void getInstance()
      Get instance of class