We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a06188 commit 45d2cffCopy full SHA for 45d2cff
WordPressUtils/src/main/java/org/wordpress/android/util/UrlUtils.java
@@ -32,6 +32,11 @@ public static String urlDecode(final String text) {
32
}
33
34
35
+ /**
36
+ *
37
+ * @param urlString url to get domain from
38
+ * @return domain of uri if available. Empty string otherwise.
39
+ */
40
public static String getDomainFromUrl(final String urlString) {
41
if (urlString != null) {
42
Uri uri = Uri.parse(urlString);
0 commit comments