public Map < URI , String > getCfLocations ( ) { if ( this . needsReRun == true ) { this . locationMap . clear ( ) ; String pathSep = System . getProperty ( "path.separator" ) ; String classpath = System . getProperty ( "java.class.path" ) ; StringTokenizer st = new StringTokenizer ( classpath , pathSep ) ; File file = null ; while ( st . hasMoreTokens ( ) ) { String path = st . nextToken ( ) ; file = new File ( path ) ; this . include ( file ) ; } } this . needsReRun = false ; return this . locationMap ; }
Runs the locator and collects all locations using the filters if set . The method can be called multiple times and will only result in a new map if any of the filters have been changed . If no filter has been changed the current map will be returned .