X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fmeviz%2Frenamer%2FMain.java;h=a13be91df86e2fc1d0691b1b9a3b3f2a0868a724;hb=55413b4e5a1c3fb76d77e20ea67fd29853083c7e;hp=39ae0c0e332d94c38d93105d5b03e01a2a283570;hpb=567410640f4e0428caf9de9fc83df4c73f0e5067;p=meviz.git diff --git a/src/main/java/eu/svjatoslav/meviz/renamer/Main.java b/src/main/java/eu/svjatoslav/meviz/renamer/Main.java index 39ae0c0..a13be91 100755 --- a/src/main/java/eu/svjatoslav/meviz/renamer/Main.java +++ b/src/main/java/eu/svjatoslav/meviz/renamer/Main.java @@ -1,15 +1,12 @@ /* - * 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.renamer; -import eu.svjatoslav.commons.string.WildCardMatcher; +import eu.svjatoslav.commons.string.GlobMatcher; import eu.svjatoslav.meviz.Module; import java.io.File; @@ -44,7 +41,7 @@ public class Main implements Module { final String fileName = file.getName(); for (final String inputPattern : options.inputPatterns) - if (WildCardMatcher.match(fileName, inputPattern)) + if (GlobMatcher.match(fileName, inputPattern)) return true; return false;