|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.form.utils.StringUtil
public final class StringUtil
StringUtil
Method Summary | |
---|---|
static byte[] |
convertToByte(java.lang.String strToConvert)
Convert a String to byte[]. |
static java.lang.String |
convertToString(byte[] toConvert)
Convert a byte[] to a String. |
static java.lang.String |
getConversionEncoding()
Get the conversion encoding defined in form.response.encoding |
static boolean |
isConversionEnable()
Check if the conversion is enable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String convertToString(byte[] toConvert)
strToConvert
- the String to convert
public static byte[] convertToByte(java.lang.String strToConvert)
form.response.encoding
, otherwise
it will use the default encoding
strToConvert
- the String to convert
public static boolean isConversionEnable()
form.response.encoding.enable
.
public static java.lang.String getConversionEncoding()
form.response.encoding
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |