diff options
author | Chris Ward <chris@chrisgward.com> | 2013-12-26 01:12:04 +1100 |
---|---|---|
committer | Chris Ward <chris@chrisgward.com> | 2013-12-26 01:12:04 +1100 |
commit | 7d7e87e63a04fd554766de64397486f89e595d28 (patch) | |
tree | 4a404c50b05de5244a7458388d3e2e9459efbd63 /EssentialsGeoIP/src/com/maxmind/geoip/Country.java | |
parent | 8b26c7fc84051861a9d0b427d10769c14739f0fa (diff) | |
download | Essentials-7d7e87e63a04fd554766de64397486f89e595d28.tar Essentials-7d7e87e63a04fd554766de64397486f89e595d28.tar.gz Essentials-7d7e87e63a04fd554766de64397486f89e595d28.tar.lz Essentials-7d7e87e63a04fd554766de64397486f89e595d28.tar.xz Essentials-7d7e87e63a04fd554766de64397486f89e595d28.zip |
Pull geoip library from Maven
Diffstat (limited to 'EssentialsGeoIP/src/com/maxmind/geoip/Country.java')
-rw-r--r-- | EssentialsGeoIP/src/com/maxmind/geoip/Country.java | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/EssentialsGeoIP/src/com/maxmind/geoip/Country.java b/EssentialsGeoIP/src/com/maxmind/geoip/Country.java deleted file mode 100644 index d250eb766..000000000 --- a/EssentialsGeoIP/src/com/maxmind/geoip/Country.java +++ /dev/null @@ -1,61 +0,0 @@ -/** - * Country.java - * - * Copyright (C) 2003 MaxMind LLC. All Rights Reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -package com.maxmind.geoip; - -/** - * Represents a country. - * - * @author Matt Tucker - */ -public class Country { - - private String code; - private String name; - - /** - * Creates a new Country. - * - * @param code the country code. - * @param name the country name. - */ - public Country(String code, String name) { - this.code = code; - this.name = name; - } - - /** - * Returns the ISO two-letter country code of this country. - * - * @return the country code. - */ - public String getCode() { - return code; - } - - /** - * Returns the name of this country. - * - * @return the country name. - */ - public String getName() { - return name; - } -} |