public List < URL > getAllLibraries ( ) { List < URL > libs = new ArrayList < URL > ( this . extractedTempLibraries . size ( ) + 1 ) ; if ( jarFile != null ) { libs . add ( jarFile ) ; } for ( File tmpLib : this . extractedTempLibraries ) { try { libs . add ( tmpLib . getAbsoluteFile ( ) . toURI ( ) . toURL ( ) ) ; } catch ( MalformedURLException e ) { throw new RuntimeException ( "URL is invalid. This should not happen." , e ) ; } } return libs ; }
Returns all provided libraries needed to run the program .