Autopsy
4.19.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Static Public Member Functions | |
static Set< String > | getSanitizedPersonNames (Collection< Person > persons) |
static String | getValidationMessage (String curName, String initialName, Set< String > currentPersonsTrimmedUpper) |
Provides methods for validating person names.
Definition at line 32 of file PersonNameValidator.java.
|
static |
Generates a list of person names trimmed and to upper case that can be used with getValidationMessage.
persons | The persons. |
Definition at line 73 of file PersonNameValidator.java.
Referenced by org.sleuthkit.autopsy.datamodel.persons.AddEditPersonDialog.AddEditPersonDialog().
|
static |
Gets the validation message based on the current text checked against the person names.
curName | The current name to be validated. |
initialName | If editing a name, the initial name of the person. Otherwise, null can be provided for this parameter. |
currentPersonsTrimmedUpper | The current person names. This set should be sanitized to upper case and trimmed. |
Definition at line 49 of file PersonNameValidator.java.
Referenced by org.sleuthkit.autopsy.datamodel.persons.AddEditPersonDialog.onNameUpdate().
Copyright © 2012-2021 Basis Technology. Generated on: Fri Aug 6 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.