Add the specified BshClassPath as a component of our path. Changes in the bcp will be reflected through us.
( BshClassPath bcp )
| 108 | Changes in the bcp will be reflected through us. |
| 109 | */ |
| 110 | public void addComponent( BshClassPath bcp ) { |
| 111 | if ( compPaths == null ) |
| 112 | compPaths = new ArrayList(); |
| 113 | compPaths.add( bcp ); |
| 114 | bcp.addListener( this ); |
| 115 | } |
| 116 | |
| 117 | public void add( URL [] urls ) { |
| 118 | path.addAll( Arrays.asList(urls) ); |
no test coverage detected