src/main/java/io/mola/galimatias/URL.java
public static URL buildOpaque(final String scheme) throws GalimatiasParseException {
        if (URLUtils.isRelativeScheme(scheme)) {
            throw new GalimatiasParseException("Scheme is relative: " + scheme);
        }
        return new URLParser(scheme + ":").parse();
    }
public static URL buildOpaque(final String scheme) throws GalimatiasParseException {
        if (URLUtils.isRelativeScheme(scheme)) {
            throw new GalimatiasParseException("Scheme is relative: " + scheme);
        }
        return new URLParser(scheme + ":").parse();
    }
public static URL buildOpaque ( final String scheme ) throws GalimatiasParseException { if ( URLUtils . isRelativeScheme ( scheme ) ) { throw new GalimatiasParseException ( "Scheme is relative: " + scheme ) ; } return new URLParser ( scheme + ":" ) . parse ( ) ; }
Gets a URL object from a non-relative scheme.

@param scheme
@return
@throws GalimatiasParseException
Gets a URL object from a non - relative scheme .