01: package org.uispec4j.finder;
02:
03: /**
04: * Miscellaneous utilities used by the component finding mechanism
05: */
06: public class FinderUtils {
07: private FinderUtils() {
08: }
09:
10: public static StringMatcher[] getMatchers(String reference) {
11: return new StringMatcher[] { StringMatcher.identity(reference),
12: StringMatcher.substring(reference) };
13: }
14: }
|