class CharsetSettingsDefinition implements EnumSettingsDefinition {

	public String getCharset(Settings settings, String defaultValue) {
		String cs = settings.getString(CHARSET_SETTING_NAME);
		if (cs == null) {
			cs = getDeprecatedEncodingValue(settings);
		}
		return (cs != null) ? cs : defaultValue;
	}

	private  CharsetSettingsDefinition();

}