Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.connect.update.util
Class FileMatcher

java.lang.Object
  extended by org.nuxeo.connect.update.util.FileMatcher

public class FileMatcher
extends Object

Author:
Bogdan Stefanescu

Constructor Summary
FileMatcher(Pattern pattern, String key)
           
 
Method Summary
 String getKey()
           
static FileMatcher getMatcher(File file)
           
static FileMatcher getMatcher(String path)
           
static File getMatchingFile(String path, Map<String,Object> map)
          The pattern variable will be put in the given map if any.
 Pattern getPattern()
           
 String getValue()
           
static void main(String[] args)
           
 boolean match(String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileMatcher

public FileMatcher(Pattern pattern,
                   String key)
Method Detail

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)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.