We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2a0733 commit 528d090Copy full SHA for 528d090
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