Go to the documentation of this file.
19package org.sleuthkit.autopsy.directorytree;
21import java.util.Objects;
27class ExternalViewerRule
implements Comparable<ExternalViewerRule> {
29 private final String name;
30 private final String exePath;
44 ExternalViewerRule(String name, String exePath,
RuleType type) {
46 this.exePath = exePath;
58 RuleType getRuleType() {
63 public String toString() {
72 public boolean equals(Object other) {
73 if (other !=
null && other instanceof ExternalViewerRule) {
74 ExternalViewerRule that = (ExternalViewerRule) other;
75 if (this.getName().equals(that.getName())) {
83 public int hashCode() {
85 hash = 67 * hash + Objects.hashCode(this.name);
90 public int compareTo(ExternalViewerRule other) {
91 return this.getName().compareTo(other.getName());
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.