OsmAnd/DataExtractionOSM/src/net/osmand/StringMatcher.java
pavol.zibrita c510fb5636 - also searching the villages using Collator
- created StringMatcher and some its Collator subclasses to be used in village search
- removed toLowerCase calls, as Collator.PRIMARY also ignores the case

git-svn-id: https://osmand.googlecode.com/svn/trunk@859 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
2010-12-26 20:45:05 +00:00

17 lines
323 B
Java

package net.osmand;
/**
* Easy matcher to be able to filter streets,buildings, etc.. using custom
* rules
*
* @author pavol.zibrita
*/
public interface StringMatcher {
/**
* @param name
* @return true if this matcher matches the <code>name</code> String
*/
boolean matches(String name);
}