fr.paris.lutece.plugins.crm.modules.rest.util
Class StringUtil
java.lang.Object
fr.paris.lutece.plugins.crm.modules.rest.util.StringUtil
public final class StringUtil
- extends Object
StringUtil
Method Summary |
static String |
convertString(String strToConvert)
Convert a string from the encoding defined in crm-rest.encoding.from
to the encoding defined in crm-rest.encoding.to . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
convertString
public static String convertString(String strToConvert)
- Convert a string from the encoding defined in
crm-rest.encoding.from
to the encoding defined in crm-rest.encoding.to
.
If there is an error, then it will return the String given in the parameter.
- Parameters:
strToConvert
- the String to convert
- Returns:
- the convert String if there is no error, the String in the parameter otherwise
Copyright © 2013 Mairie de Paris. All Rights Reserved.