public static Collection < String > getClasspath ( Library sharedLib , boolean upperCaseFileNamesOnly ) { final boolean trace = TraceComponent . isAnyTracingEnabled ( ) ; if ( trace && tc . isEntryEnabled ( ) ) Tr . entry ( tc , "getClasspath" , sharedLib ) ; Collection < String > classpath = new LinkedList < String > ( ) ; if ( sharedLib != null && sharedLib . getFiles ( ) != null ) for ( File file : sharedLib . getFiles ( ) ) classpath . ( upperCaseFileNamesOnly ? file . getName ( ) . toUpperCase ( ) : file . getAbsolutePath ( ) ) ; if ( sharedLib != null && sharedLib . getFilesets ( ) != null ) for ( Fileset fileset : sharedLib . getFilesets ( ) ) for ( File file : fileset . getFileset ( ) ) classpath . ( upperCaseFileNamesOnly ? file . getName ( ) . toUpperCase ( ) : file . getAbsolutePath ( ) ) ; if ( trace && tc . isEntryEnabled ( ) ) Tr . exit ( tc , "getClasspath" , classpath ) ; return classpath ; }
Returns a list of file names for the specified library .