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 8a06188 commit 45d2cff
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 45d2cff

Please sign in to comment.