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