public static URL getURL(DomainFile linkFile) throws IOException {
		String contentType = linkFile.getContentType();
		ContentHandler<?> ch = DomainObjectAdapter.getContentHandler(contentType);
		if (ch instanceof LinkHandler) {
			Map<String, String> metadata = linkFile.getMetadata();
			String urlStr = metadata.get(URL_METADATA_KEY);
			if (urlStr != null) {
				return new URL(urlStr);
			}
		}
		throw new IOException("Invalid link file: " + contentType);
	}
Get the link URL which corresponds to the specified link file.
See {@link DomainFile#isLinkFile()}.
@param linkFile link-file domain file
@return link URL
@throws MalformedURLException if link is bad or unsupported.
@throws IOException if IO error or supported link file not specified
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/LinkHandler.java