Package org.apache.tools.ant.types.selectors

Examples of org.apache.tools.ant.types.selectors.TokenizedPath


     * @param name The name to match. Must not be <code>null</code>.
     * @return <code>true</code> when the name matches against the start of at
     *         least one include pattern, or <code>false</code> otherwise.
     */
    protected boolean couldHoldIncluded(String name) {
        return couldHoldIncluded(new TokenizedPath(name));
    }
View Full Code Here


     * @param name The name to match. Must not be <code>null</code>.
     * @return <code>true</code> when the name matches against at least one
     *         exclude pattern, or <code>false</code> otherwise.
     */
    protected boolean isExcluded(String name) {
        return isExcluded(new TokenizedPath(name));
    }
View Full Code Here

        ArrayList al = new ArrayList(patterns.length);
        for (int i = 0; i < patterns.length; i++) {
            if (!SelectorUtils.hasWildcards(patterns[i])) {
                String s = isCaseSensitive()
                    ? patterns[i] : patterns[i].toUpperCase();
                map.put(s, new TokenizedPath(s));
            } else {
                al.add(new TokenizedPattern(patterns[i]));
            }
        }
        return (TokenizedPattern[]) al.toArray(new TokenizedPattern[al.size()]);
View Full Code Here

TOP

Related Classes of org.apache.tools.ant.types.selectors.TokenizedPath

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.