1 package com.loribel.commons.abstraction;
2
3 /***
4 * Constants class.
5 *
6 * @author Gregory Borelli
7 */
8 public abstract class ENCODING
9 {
10 public static final String UTF8 = "UTF-8";
11 public static final String ISO_8859_1 = "ISO-8859-1";
12 public static String DEFAULT = ISO_8859_1;
13 public static final String LOCALE;
14
15 static {
16 String l_encoding = System.getProperty("file.encoding");
17 if ("Cp1252".equals(l_encoding)) {
18 l_encoding = ISO_8859_1;
19 }
20 LOCALE = l_encoding;
21 }
22
23
24
25
26
27
28
29
30
31
32
33
34 }