I am trying to find a file with a name like: ENV20120517, all you need and finish with .DAT
So, I am installing the template for: "ENV20120517 *. * DAT".
public boolean accept(File dir, String name) {
if (pattern != null) {
return name.matches(pattern);
}
return false;
}
Why with the previous template do I believe for: name = "ENV20120516053518.DAT"?
source
share