X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fmeviz%2Frenamer%2FMain.java;h=2359a69a77362ed6a04ff2530b8bffd7c44bc072;hb=ed57ca76172f5984eee2d08de841fa7b7bb21b29;hp=073898e871b2e6c7dc5decea6d100fbb48384aac;hpb=891ecca562e87bb5d0ab1e49eea566c15fe91c6d;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 073898e..2359a69 100755 --- a/src/main/java/eu/svjatoslav/meviz/renamer/Main.java +++ b/src/main/java/eu/svjatoslav/meviz/renamer/Main.java @@ -1,15 +1,15 @@ /* * Meviz - Various tools collection to work with multimedia. - * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu - * + * 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 2 of the GNU General Public License - * as published by the Free Software Foundation. - */ + * 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.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 +44,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;