private /*synchronized*/ void add_a_documentation_URL(String URLname) throws VisualizerLoadException { try { URI infoURI = new URI(URLname); if (infoURI.getScheme() == null) { // Now we recreate it with the appended rel scheme infoURI = new URI("Rel:" + URLname); } // If it does have a scheme definition then it's already set to go. GaigsAV.docCtlTable.put(new Integer(Snaps), infoURI); // add map snap -> URI // System.out.println("Adding documentation URL for snap " + Snaps + " " + my_url.toString()); } catch (Exception e) { throw new VisualizerLoadException("Aieee... bad SHO file"); } }