Go to the documentation of this file.
19package org.sleuthkit.autopsy.keywordsearch;
21import java.text.Normalizer;
22import org.openide.util.NbBundle;
23import org.sleuthkit.datamodel.BlackboardAttribute;
93 this.searchTerm = Normalizer.normalize(
searchTerm, Normalizer.Form.NFKC);
151 String getSearchTermType() {
154 return NbBundle.getMessage(NewKeywordPanel.class,
"NewKeywordPanel.exactButton.text");
156 return NbBundle.getMessage(NewKeywordPanel.class,
"NewKeywordPanel.substringButton.text");
159 return NbBundle.getMessage(NewKeywordPanel.class,
"NewKeywordPanel.regexButton.text");
185 BlackboardAttribute.ATTRIBUTE_TYPE getArtifactAttributeType() {
199 if (getClass() != obj.getClass()) {
202 Keyword other = (Keyword) obj;
206 &&
this.listName.equals(other.getListName())
207 &&
this.originalTerm.equals(other.getOriginalTerm()));
213 hash = 17 * hash + this.searchTerm.hashCode();
214 hash = 17 * hash + this.listName.hashCode();
215 hash = 17 * hash + (this.isLiteral ? 1 : 0);
216 hash = 17 * hash + (this.isWholeWord ? 1 : 0);
217 hash = 17 * hash + this.originalTerm.hashCode();
224 String getListName() {
231 String getOriginalTerm() {
boolean searchTermIsWholeWord()
BlackboardAttribute.ATTRIBUTE_TYPE artifactAtrributeType
final String originalTerm
boolean equals(Object obj)
boolean searchTermIsLiteral()
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.