(String path)
| 155 | } |
| 156 | |
| 157 | public URL getResource(String path) { |
| 158 | URL url = null; |
| 159 | if (parent != null) { |
| 160 | url = parent.getResource(path); |
| 161 | } |
| 162 | |
| 163 | if (url == null) { |
| 164 | url = findResource(path); |
| 165 | } |
| 166 | |
| 167 | return url; |
| 168 | } |
| 169 | |
| 170 | public InputStream getResourceAsStream(String path) { |
| 171 | URL url = getResource(path); |
no test coverage detected