public synchronized String [ ] getIncludedFiles ( ) { if ( filesIncluded == null ) { throw new IllegalStateException ( "Must call scan() first" ) ; } String [ ] files = new String [ filesIncluded . size ( ) ] ; filesIncluded . copyInto ( files ) ; Arrays . sort ( files ) ; return files ; }
Return the names of the files which matched at least one of the include patterns and none of the exclude patterns . The names are relative to the base directory .