title: Is there a way to run Checkstyle only on .java files WITHOUT ANT?
body: <p>I'm trying have Checkstyle be given any file type, but ignore anything that is not a .java file.
  I created a filter, but that doesn't seem to be working:</p>
  
  <pre><code>public class DotJavaFilter
      extends AutomaticBean
      implements Filter
  {
  
      public DotJavaFilter()
          throws PatternSyntaxException
      {
      }
  
      public boolean accept(AuditEvent aEvent)
      {
          final String fileName = aEvent.getFileName();
          return fileName.endsWith(".java");
      }
  }
  </code></pre>
  
  <p>I'd like to give CS a directory of files and have it only process the .java ones.</p>