001 package org.hackystat.sensorbase.uripattern; 002 003 /** 004 * Pattern. 005 * 006 * @author (Cedric) Qin ZHANG 007 */ 008 interface Pattern { 009 010 /** 011 * Tests whether the pattern matches a file path. 012 * 013 * @param filePath The file path to match. 014 * @return True if there is a match. 015 */ 016 boolean matches(String filePath); 017 }