Class UriUtil
- java.lang.Object
-
- com.google.android.exoplayer2.util.UriUtil
-
@Deprecated public final class UriUtil extends Object
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.Utility methods for manipulating URIs.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
isAbsolute(String uri)
Deprecated.Returns true if the URI is starting with a scheme component, false otherwise.static Uri
removeQueryParameter(Uri uri, String queryParameterName)
Deprecated.Removes query parameter from a URI, if present.static String
resolve(String baseUri, String referenceUri)
Deprecated.Performs relative resolution of areferenceUri
with respect to abaseUri
.static Uri
resolveToUri(String baseUri, String referenceUri)
Deprecated.
-
-
-
Method Detail
-
resolveToUri
public static Uri resolveToUri(@Nullable String baseUri, @Nullable String referenceUri)
Deprecated.- Parameters:
baseUri
- The base URI.referenceUri
- The reference URI to resolve.
-
resolve
public static String resolve(@Nullable String baseUri, @Nullable String referenceUri)
Deprecated.Performs relative resolution of areferenceUri
with respect to abaseUri
.The resolution is performed as specified by RFC-3986.
- Parameters:
baseUri
- The base URI.referenceUri
- The reference URI to resolve.
-
isAbsolute
public static boolean isAbsolute(@Nullable String uri)
Deprecated.Returns true if the URI is starting with a scheme component, false otherwise.
-
-