19 package org.sleuthkit.autopsy.modules.yara.rules;
22 import java.io.Serializable;
23 import java.nio.file.Path;
24 import java.util.ArrayList;
25 import java.util.Arrays;
26 import java.util.List;
31 public class RuleSet implements Comparable<RuleSet>, Serializable {
44 RuleSet(String name, Path path) {
73 List<File> fileList =
new ArrayList<>();
74 if(path.toFile().exists()) {
75 File[] fileArray = path.toFile().listFiles();
76 if(fileArray != null) {
77 fileList.addAll(Arrays.asList(fileArray));
static final long serialVersionUID
int compareTo(RuleSet ruleSet)
List< File > getRuleFiles()