|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.html.EncodingService
public final class EncodingService
Encoding utils
Method Summary | |
---|---|
static String |
encodeUrl(String strSource)
Encode an url string. |
static String |
encodeUrl(String strSource,
String strProperty)
Encode an url string. |
static String |
encodeUrl(String strSource,
String strProperty,
String strDefaultEncoding)
Encode an url string |
static String |
getEncoding()
Returns the current encoding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String encodeUrl(String strSource)
PROPERTY_URL_ENCODING
property and DEFAULT_URI_ENCODING
as default if PROPERTY_URL_ENCODING
not found.
strSource
- The string to encode
public static String encodeUrl(String strSource, String strProperty)
DEFAULT_URI_ENCODING
as default.
strSource
- The string to encodestrProperty
- The property used used for the encoding. (ex : lutece.encoding.url )
public static String encodeUrl(String strSource, String strProperty, String strDefaultEncoding)
strSource
- The string to encodestrProperty
- The property used used for the encoding. (ex : lutece.encoding.url )strDefaultEncoding
- default encoding if strProperty
cannot be found.
public static String getEncoding()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |