|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gisgraphy.helper.EncodingHelper
public class EncodingHelper
Encoding helper
| Field Summary | |
|---|---|
protected static org.slf4j.Logger |
logger
|
| Constructor Summary | |
|---|---|
EncodingHelper()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
removeAccents(java.lang.String input)
To replace accented characters in a String by unaccented equivalents. |
static void |
setJVMEncodingToUTF8()
Set the file.encoding and sun.jnu.encoding to UTF-8 |
static java.lang.String |
toUTF8(java.lang.String string)
useful for windows only, this method is a workaround for encoding problems on Windows. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.slf4j.Logger logger
| Constructor Detail |
|---|
public EncodingHelper()
| Method Detail |
|---|
public static java.lang.String toUTF8(java.lang.String string)
public static void setJVMEncodingToUTF8()
public static final java.lang.String removeAccents(java.lang.String input)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||