Package dev.amp.validator.utils
Class UrlUtils
- java.lang.Object
-
- dev.amp.validator.utils.UrlUtils
-
public final class UrlUtils extends Object
Functions to extract information from urls.- Author:
- nhant01, GeorgeLuo
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisDataUrl(String urlStr)Returns true iff the passed in URL is a data: protocol URL.
-
-
-
Method Detail
-
isDataUrl
public static boolean isDataUrl(@Nonnull String urlStr)Returns true iff the passed in URL is a data: protocol URL.- Parameters:
urlStr- the url to check- Returns:
- true iff URL is a data: protocol
-
-