public static URL getURL(String link) {
        if(link == null || link.equals("")) return null;

        URL url = null;
        try {
             url = new URL(link);
        } catch (MalformedURLException e) {
             if(!link.startsWith("http://") && !(link.startsWith("https://"))) {
                 link = "http://" + link;
             }
            try {
                url = new URL(link);
            } catch (MalformedURLException e1) {
//                LOGGER.severe("Could not get URL from " + link + " " + e.getMessage());
            }
        }
        return url;
    }