Skip to content

Commit

Permalink
javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonye committed Apr 2, 2015
1 parent f917e18 commit d692f39
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ public static String urlDecode(final String text) {
}
}

/**
*
* @param urlString url to get domain from
* @return domain of uri if available. Empty string otherwise.
*/
public static String getDomainFromUrl(final String urlString) {
if (urlString != null) {
Uri uri = Uri.parse(urlString);
Expand Down

0 comments on commit d692f39

Please sign in to comment.