
com.prowidesoftware.swift.model.ISOCountries Maven / Gradle / Ivy
The newest version!
/*
* 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.1 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
* Lesser General Public License for more details.
*/
package com.prowidesoftware.swift.model;
/**
* Helper class to validate ISO Country codes
*
* @author www.prowidesoftware.com
* @since 3.3
* @version $Id: ISOCountries.java,v 1.2 2010/10/17 01:22:01 zubri Exp $
*/
// TODO make usage of property file optional
public class ISOCountries extends PropertyResource {
private static final ISOCountries instance = new ISOCountries();
/**
* Default constructor
*/
protected ISOCountries() {
super();
}
/**
* Get the unique instance of this object
* @return the object instance
*/
public static ISOCountries getInstance() {
return instance;
}
protected String getResourceName() {
return "countries.properties";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy