Skip to content

Commit 45d2cff

Browse files
committed
javadocs
1 parent 8a06188 commit 45d2cff

File tree

1 file changed

+5
-0
lines changed
  • WordPressUtils/src/main/java/org/wordpress/android/util

1 file changed

+5
-0
lines changed

WordPressUtils/src/main/java/org/wordpress/android/util/UrlUtils.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ public static String urlDecode(final String text) {
3232
}
3333
}
3434

35+
/**
36+
*
37+
* @param urlString url to get domain from
38+
* @return domain of uri if available. Empty string otherwise.
39+
*/
3540
public static String getDomainFromUrl(final String urlString) {
3641
if (urlString != null) {
3742
Uri uri = Uri.parse(urlString);

0 commit comments

Comments
 (0)