private void openBrowser(String browserName,String url){
  if (StringUtilities.isEmpty(browserName)) {
    findBrowser();
    return;
  }
  if (browserName.contains(BROWSER_NAME_EXTENSION)) {
    try {
      launchExtension(browserName,url);
    }
 catch (    CoreException e) {
      CorePluginLog.logError("Couldn't use the extension to launch.");
    }
    return;
  }
  try {
    BrowserUtilities.launchBrowser(browserName,url);
  }
 catch (  Throwable t) {
    CorePluginLog.logError(t,"Could not open the browser.");
  }
}

private void openBrowser ( String browserName , String url ) { if ( StringUtilities . isEmpty ( browserName ) ) { findBrowser ( ) ; return ; } if ( browserName . contains ( BROWSER_NAME_EXTENSION ) ) { try { launchExtension ( browserName , url ) ; } catch ( CoreException e ) { CorePluginLog . logError ( "Couldn't use the extension to launch." ) ; } return ; } try { BrowserUtilities . launchBrowser ( browserName , url ) ; } catch ( Throwable t ) { CorePluginLog . logError ( t , "Could not open the browser." ) ; } }
open browser or launch an extension launcher
