com.sforce.soap.metadata.Encoding Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of force-metadata-api Show documentation
Show all versions of force-metadata-api Show documentation
Force.com Web Service Connector
package com.sforce.soap.metadata;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;
/**
* This is a generated class for the SObject Enterprise API.
* Do not edit this file, as your changes will be lost.
*/
public enum Encoding {
/**
* Enumeration : UTF_8
*/
UTF_8("UTF-8"),
/**
* Enumeration : ISO_8859_1
*/
ISO_8859_1("ISO-8859-1"),
/**
* Enumeration : Shift_JIS
*/
Shift_JIS("Shift_JIS"),
/**
* Enumeration : ISO_2022_JP
*/
ISO_2022_JP("ISO-2022-JP"),
/**
* Enumeration : EUC_JP
*/
EUC_JP("EUC-JP"),
/**
* Enumeration : ks_c_5601_1987
*/
ks_c_5601_1987("ks_c_5601-1987"),
/**
* Enumeration : Big5
*/
Big5("Big5"),
/**
* Enumeration : GB2312
*/
GB2312("GB2312"),
/**
* Enumeration : Big5_HKSCS
*/
Big5_HKSCS("Big5-HKSCS"),
/**
* Enumeration : x_SJIS_0213
*/
x_SJIS_0213("x-SJIS_0213"),
;
public static Map valuesToEnums;
static {
valuesToEnums = new HashMap();
for (Encoding e : EnumSet.allOf(Encoding.class)) {
valuesToEnums.put(e.toString(), e.name());
}
}
private String value;
private Encoding(String value) {
this.value = value;
}
@Override
public String toString() {
return value;
}
}