/** * @param uri URI as string. * @return An instance of UURI * @throws URIException */ public static UsableURI getInstance(String uri) throws URIException { return UsableURIFactory.factory.create(uri); }
/** * @param uri URI as string. * @return An instance of UURI * @throws URIException */ public static UsableURI getInstance(String uri) throws URIException { return UsableURIFactory.factory.create(uri); }
/** * @param uri URI as string. * @param charset Character encoding of the passed uri string. * @return An instance of UURI * @throws URIException */ public static UsableURI getInstance(String uri, String charset) throws URIException { return UsableURIFactory.factory.create(uri, charset); }
/** * @param base Base uri to use resolving passed relative uri. * @param relative URI as string. * @return An instance of UURI * @throws URIException */ public static UsableURI getInstance(UsableURI base, String relative) throws URIException { // return base.resolve(relative); return UsableURIFactory.factory.create(base, relative); }
/** * @param base Base uri to use resolving passed relative uri. * @param relative URI as string. * @return An instance of UURI * @throws URIException */ public static UsableURI getInstance(UsableURI base, String relative) throws URIException { // return base.resolve(relative); return UsableURIFactory.factory.create(base, relative); }
/** * @param uri URI as string. * @param charset Character encoding of the passed uri string. * @return An instance of UURI * @throws URIException */ public static UsableURI getInstance(String uri, String charset) throws URIException { return UsableURIFactory.factory.create(uri, charset); }
/** * @param uri URI as string. * @return An instance of UURI * @throws URIException */ public static UsableURI getInstance(String uri) throws URIException { return UsableURIFactory.factory.create(uri); }
/** * @param uri URI as string. * @param charset Character encoding of the passed uri string. * @return An instance of UURI * @throws URIException */ public static UsableURI getInstance(String uri, String charset) throws URIException { return UsableURIFactory.factory.create(uri, charset); }
/** * @param base Base uri to use resolving passed relative uri. * @param relative URI as string. * @return An instance of UURI * @throws URIException */ public static UsableURI getInstance(UsableURI base, String relative) throws URIException { // return base.resolve(relative); return UsableURIFactory.factory.create(base, relative); }
/** * @param uri URI as string. * @return Instance of UURI. * @throws URIException */ protected UsableURI create(String uri) throws URIException { return create(uri, UsableURI.getDefaultProtocolCharset()); }
/** * @param uri URI as string. * @return Instance of UURI. * @throws URIException */ protected UsableURI create(String uri) throws URIException { return create(uri, UsableURI.getDefaultProtocolCharset()); }
/** * @param uri URI as string. * @return Instance of UURI. * @throws URIException */ protected UsableURI create(String uri) throws URIException { return create(uri, UsableURI.getDefaultProtocolCharset()); }