private boolean matchesIncludes ( final String fileName ) { if ( m_includes . length == 0 ) { return true ; } for ( Pattern include : m_includes ) { if ( include . matcher ( fileName ) . matches ( ) ) { return true ; } } return false ; }
Checks if the file name matches inclusion patterns .