litesoft
@ 959
litesoft / trunk / Java / ScarPlus / src / com / esotericsoftware / wildcard / support / AllFileNameMatcher.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
package com.esotericsoftware.wildcard.support; import com.esotericsoftware.wildcard.*; public class AllFileNameMatcher implements FileNameMatcher { public static final FileNameMatcher INSTANCE = new AllFileNameMatcher(); private AllFileNameMatcher() { } /** * return True if the file name specified with <code>fileName</code> is acceptable (NO path may be specified) * * @param filePath !null and !empty and trim()'d (NO path may be specified) */ @Override public boolean acceptable( String fileName ) { return true; } } |