X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Finstantlauncher%2Fconfiguration%2FFileAssociation.java;h=7bac98a19efae506b3fbb011220f230503771c6f;hb=155895d0ed0f436753bf862287341830653a9c9f;hp=e21a49540b46b7e54bbb6ceafc22d0ff5dcc6b00;hpb=ea9f229a2b0d0be0e765bdd508948b28cd2d490e;p=instantlauncher.git diff --git a/src/main/java/eu/svjatoslav/instantlauncher/configuration/FileAssociation.java b/src/main/java/eu/svjatoslav/instantlauncher/configuration/FileAssociation.java index e21a495..7bac98a 100644 --- a/src/main/java/eu/svjatoslav/instantlauncher/configuration/FileAssociation.java +++ b/src/main/java/eu/svjatoslav/instantlauncher/configuration/FileAssociation.java @@ -1,3 +1,11 @@ +/* + * 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; @@ -5,8 +13,8 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; public class FileAssociation implements Comparable { - public String fileRegex; public String command; + public String fileRegex; public FileAssociation() { } @@ -29,7 +37,4 @@ public class FileAssociation implements Comparable { return matcher.matches(); } - public String[] getCommands() { - return command.split("\\s+"); - } }