org.nuxeo.connect.update.util
Class FileMatcher
java.lang.Object
org.nuxeo.connect.update.util.FileMatcher
public class FileMatcher
- extends Object
- Author:
- Bogdan Stefanescu
FileMatcher
public FileMatcher(Pattern pattern,
String key)
getMatcher
public static FileMatcher getMatcher(String path)
getMatcher
public static FileMatcher getMatcher(File file)
getMatchingFile
public static File getMatchingFile(String path,
Map<String,Object> map)
- The pattern variable will be put in the given map if any.
getKey
public String getKey()
getPattern
public Pattern getPattern()
getValue
public String getValue()
match
public boolean match(String name)
main
public static void main(String[] args)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.