+/*
+ * Instantlauncher. Copyright ©2012-2019, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 3 of the GNU Lesser General Public License
+ * or later as published by the Free Software Foundation.
+ */
+
package eu.svjatoslav.instantlauncher.configuration;
import java.io.File;
public class Configuration {
public Set<FileAssociation> fileAssociations;
public String navigationRootPath;
+ public String directoryOpenCommand;
+ public String directoryTerminalOpenCommand;
-
- public FileAssociation findFileAssociation(File file){
+ public FileAssociation findFileAssociation(File file) {
for (FileAssociation association : fileAssociations)
if (association.matchesFile(file)) return association;
return null;
}
+ public File getNavigationRootDirectory() {
+ return new File(navigationRootPath);
+ }
+
}