Changed license to CC0.
[meviz.git] / src / main / java / eu / svjatoslav / meviz / encoder / Encoder.java
index 9820f2b..97e5a75 100755 (executable)
@@ -1,16 +1,13 @@
 /*
- * Meviz - Various tools collection to work with multimedia.
- * Copyright (C) 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.
-*/
+ * Meviz - Various tools collection to work with multimedia. Author: Svjatoslav Agejenko.
+ * This project is released under Creative Commons Zero (CC0) license.
+ */
+
 
 package eu.svjatoslav.meviz.encoder;
 
 import eu.svjatoslav.commons.file.FilePathParser;
-import eu.svjatoslav.commons.string.WildCardMatcher;
+import eu.svjatoslav.commons.string.GlobMatcher;
 import eu.svjatoslav.meviz.Module;
 import eu.svjatoslav.meviz.encoder.converters.AbstractConverter;
 
@@ -107,7 +104,7 @@ public class Encoder implements Module {
         final String fileName = file.getName().toLowerCase();
 
         for (final String inputPattern : encodingOptions.getInputPatterns())
-            if (WildCardMatcher.match(fileName, inputPattern.toLowerCase()))
+            if (GlobMatcher.match(fileName, inputPattern.toLowerCase()))
                 return true;
 
         return false;