/* 235 */ if (LogSupport.isLoggable())
/* 236 */ LogSupport.log("MailcapCommandMap: URL " + url);
/* */ try {
/* 238 */ clis = SecuritySupport.openStream(url);
/* 239 */ if (clis != null) {
/* 240 */ v.add(new MailcapFile(clis));
/* 241 */ anyLoaded = true;
/* 242 */ if (LogSupport.isLoggable()) {
/* 243 */ LogSupport.log("MailcapCommandMap: successfully loaded mailcap file from URL: " + url);
/* */ }
/* */
/* */ }
/* 248 */ else if (LogSupport.isLoggable()) {
/* 249 */ LogSupport.log("MailcapCommandMap: not loading mailcap file from URL: " + url);
/* */ }
/* */ }
/* */ catch (IOException cex)
/* */ {
/* 254 */ if (LogSupport.isLoggable())
/* 255 */ LogSupport.log("MailcapCommandMap: can't load " + url, ioex);
/* */ }
/* */ catch (SecurityException cex) {
/* 258 */ if (LogSupport.isLoggable())
/* 259 */ LogSupport.log("MailcapCommandMap: can't load " + url, sex);
/* */ }
/* */ finally {
/* */ try {
/* 263 */ if (clis != null)
/* 264 */ clis.close();
/* */ } catch (IOException cex) {
/* */ }
/* */ }
/* */ }
/* */ }
/* */ } catch (Exception ex) {
/* 270 */ if (LogSupport.isLoggable()) {
/* 271 */ LogSupport.log("MailcapCommandMap: can't load " + name, ex);
/* */ }
/* */ }
/* */
/* 275 */ if (!anyLoaded) {
/* 276 */ if (LogSupport.isLoggable())
/* 277 */ LogSupport.log("MailcapCommandMap: !anyLoaded");
/* 278 */ MailcapFile mf = loadResource("/" + name);
/* 279 */ if (mf != null)
/* 280 */ v.add(mf);
/* */ }
/* */ }