protected static Tracker getSingleTracker (String announce) {
        try {
            URI uri = new URI(announce);

            if (uri.getScheme().equals("udp")) {
                return new UdpTracker(uri);
            } else {
                // Create URL tracker
                return new UrlTracker(uri.toURL());
            }
        } catch (URISyntaxException exc) {
            return null;

        } catch (MalformedURLException e) {
            return null;
        }
    }