Java Code Examples for com.google.android.exoplayer2.util.UriUtil#resolve()
The following examples show how to use
com.google.android.exoplayer2.util.UriUtil#resolve() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DashManifestParser.java From TelePlus-Android with GNU General Public License v2.0 | 4 votes |
protected static String parseBaseUrl(XmlPullParser xpp, String parentBaseUrl) throws XmlPullParserException, IOException { xpp.next(); return UriUtil.resolve(parentBaseUrl, xpp.getText()); }
Example 2
Source File: DashManifestParser.java From TelePlus-Android with GNU General Public License v2.0 | 4 votes |
protected static String parseBaseUrl(XmlPullParser xpp, String parentBaseUrl) throws XmlPullParserException, IOException { xpp.next(); return UriUtil.resolve(parentBaseUrl, xpp.getText()); }
Example 3
Source File: DashManifestParser.java From K-Sonic with MIT License | 4 votes |
protected static String parseBaseUrl(XmlPullParser xpp, String parentBaseUrl) throws XmlPullParserException, IOException { xpp.next(); return UriUtil.resolve(parentBaseUrl, xpp.getText()); }
Example 4
Source File: RangedUri.java From MediaSDK with Apache License 2.0 | 2 votes |
/** * Returns the resolved uri represented by the instance as a string. * * @param baseUri The base Uri. * @return The uri represented by the instance. */ public String resolveUriString(String baseUri) { return UriUtil.resolve(baseUri, referenceUri); }
Example 5
Source File: DashManifestParser.java From MediaSDK with Apache License 2.0 | 2 votes |
/** * Parses a BaseURL element. * * @param xpp The parser from which to read. * @param parentBaseUrl A base URL for resolving the parsed URL. * @throws XmlPullParserException If an error occurs parsing the element. * @throws IOException If an error occurs reading the element. * @return The parsed and resolved URL. */ protected String parseBaseUrl(XmlPullParser xpp, String parentBaseUrl) throws XmlPullParserException, IOException { return UriUtil.resolve(parentBaseUrl, parseText(xpp, "BaseURL")); }
Example 6
Source File: RangedUri.java From TelePlus-Android with GNU General Public License v2.0 | 2 votes |
/** * Returns the resolved uri represented by the instance as a string. * * @param baseUri The base Uri. * @return The uri represented by the instance. */ public String resolveUriString(String baseUri) { return UriUtil.resolve(baseUri, referenceUri); }
Example 7
Source File: RangedUri.java From TelePlus-Android with GNU General Public License v2.0 | 2 votes |
/** * Returns the resolved uri represented by the instance as a string. * * @param baseUri The base Uri. * @return The uri represented by the instance. */ public String resolveUriString(String baseUri) { return UriUtil.resolve(baseUri, referenceUri); }
Example 8
Source File: RangedUri.java From K-Sonic with MIT License | 2 votes |
/** * Returns the resolved uri represented by the instance as a string. * * @param baseUri The base Uri. * @return The uri represented by the instance. */ public String resolveUriString(String baseUri) { return UriUtil.resolve(baseUri, referenceUri); }
Example 9
Source File: RangedUri.java From Telegram-FOSS with GNU General Public License v2.0 | 2 votes |
/** * Returns the resolved uri represented by the instance as a string. * * @param baseUri The base Uri. * @return The uri represented by the instance. */ public String resolveUriString(String baseUri) { return UriUtil.resolve(baseUri, referenceUri); }
Example 10
Source File: DashManifestParser.java From Telegram-FOSS with GNU General Public License v2.0 | 2 votes |
/** * Parses a BaseURL element. * * @param xpp The parser from which to read. * @param parentBaseUrl A base URL for resolving the parsed URL. * @throws XmlPullParserException If an error occurs parsing the element. * @throws IOException If an error occurs reading the element. * @return The parsed and resolved URL. */ protected String parseBaseUrl(XmlPullParser xpp, String parentBaseUrl) throws XmlPullParserException, IOException { return UriUtil.resolve(parentBaseUrl, parseText(xpp, "BaseURL")); }
Example 11
Source File: RangedUri.java From Telegram with GNU General Public License v2.0 | 2 votes |
/** * Returns the resolved uri represented by the instance as a string. * * @param baseUri The base Uri. * @return The uri represented by the instance. */ public String resolveUriString(String baseUri) { return UriUtil.resolve(baseUri, referenceUri); }
Example 12
Source File: DashManifestParser.java From Telegram with GNU General Public License v2.0 | 2 votes |
/** * Parses a BaseURL element. * * @param xpp The parser from which to read. * @param parentBaseUrl A base URL for resolving the parsed URL. * @throws XmlPullParserException If an error occurs parsing the element. * @throws IOException If an error occurs reading the element. * @return The parsed and resolved URL. */ protected String parseBaseUrl(XmlPullParser xpp, String parentBaseUrl) throws XmlPullParserException, IOException { return UriUtil.resolve(parentBaseUrl, parseText(xpp, "BaseURL")); }