Package org.jpass.database
Class JsonEditRemove
java.lang.Object
org.jpass.database.JsonEditRemove
Edit or remove credentials from database by id or name
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
editByIdOrName
(int id, String name, String[] args) Edit credentials by id or name (one of them has to be 0 or null)static void
Get instance of classstatic void
removeByIdOrName
(int id, String name) Remove credentials by id or name (one of them has to be 0 or null)
-
Constructor Details
-
JsonEditRemove
public JsonEditRemove()Constructor - load decrypted data in JSON format as String
-
-
Method Details
-
editByIdOrName
Edit credentials by id or name (one of them has to be 0 or null)- Parameters:
id
- id of the credentialname
- name of the credentialargs
- arguments to edit
-
removeByIdOrName
Remove credentials by id or name (one of them has to be 0 or null)- Parameters:
id
- id of the credentialname
- name of the credential
-
getInstance
public static void getInstance()Get instance of class
-