1 package eu.svjatoslav.instantlauncher.configuration;
6 public class Configuration {
7 public Set<FileAssociation> fileAssociations;
8 public String navigationRootPath;
9 public String directoryOpenCommand;
10 public String directoryTerminalOpenCommand;
12 public FileAssociation findFileAssociation(File file) {
13 for (FileAssociation association : fileAssociations)
14 if (association.matchesFile(file)) return association;
19 public File getNavigationRootDirectory() {
20 return new File(navigationRootPath);