[go: nahoru, domu]

Skip to content

Commit

Permalink
javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonye authored and maxme committed Apr 17, 2015
1 parent efe7e97 commit f1d2319
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 f1d2319

Please sign in to comment.