mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-02-16 03:41:30 +01:00
Update javadoc.
This commit is contained in:
parent
481cbaec2f
commit
cc266a7bd6
@ -84,9 +84,9 @@ public class GeoLiteAPI {
|
|||||||
/**
|
/**
|
||||||
* Get the country code of the given IP address.
|
* Get the country code of the given IP address.
|
||||||
*
|
*
|
||||||
* @param ip Ip address
|
* @param ip textual IP address address to lookup.
|
||||||
*
|
*
|
||||||
* @return String
|
* @return two-character ISO 3166-1 alpha code for the country.
|
||||||
*/
|
*/
|
||||||
public static String getCountryCode(String ip) {
|
public static String getCountryCode(String ip) {
|
||||||
if (!"127.0.0.1".equals(ip) && isDataAvailable()) {
|
if (!"127.0.0.1".equals(ip) && isDataAvailable()) {
|
||||||
@ -102,9 +102,9 @@ public class GeoLiteAPI {
|
|||||||
/**
|
/**
|
||||||
* Get the country name of the given IP address.
|
* Get the country name of the given IP address.
|
||||||
*
|
*
|
||||||
* @param ip Ip address
|
* @param ip textual IP address address to lookup.
|
||||||
*
|
*
|
||||||
* @return String
|
* @return The name of the country.
|
||||||
*/
|
*/
|
||||||
public static String getCountryName(String ip) {
|
public static String getCountryName(String ip) {
|
||||||
if (!"127.0.0.1".equals(ip) && isDataAvailable()) {
|
if (!"127.0.0.1".equals(ip) && isDataAvailable()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user