KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > fr > jayasoft > ivy > matcher > NoMatcher


1 /*
2  * This file is subject to the licence found in LICENCE.TXT in the root directory of the project.
3  * Copyright Jayasoft 2005 - All rights reserved
4  *
5  * #SNAPSHOT#
6  */

7 package fr.jayasoft.ivy.matcher;
8
9 public class NoMatcher implements Matcher {
10     private final static Matcher INSTANCE = new NoMatcher();
11     
12     public static Matcher getInstance() {
13         return INSTANCE;
14     }
15     
16     private NoMatcher() {
17     }
18
19     public boolean matches(String JavaDoc str) {
20         return false;
21     }
22
23     public boolean isExact() {
24         return true;
25     }
26
27 }
28
Popular Tags