|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.taskapi.portalui.TaskAPIUIHTTP
public class TaskAPIUIHTTP
Class description
Field Summary | |
---|---|
static java.lang.String |
ENCODING_UTF8
|
Constructor Summary | |
---|---|
TaskAPIUIHTTP()
|
Method Summary | |
---|---|
static java.lang.String |
URLDecode(java.lang.String strValue,
java.lang.String strEncoding)
Returns a decoded version of the input string, assuming it was a valid URL encoding. |
static java.lang.String |
URLEncode(java.lang.String strValue,
java.lang.String strEncoding)
Returns a URL-encoded version of the input string, or empty string if input is null. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ENCODING_UTF8
Constructor Detail |
---|
public TaskAPIUIHTTP()
Method Detail |
---|
public static java.lang.String URLEncode(java.lang.String strValue, java.lang.String strEncoding)
strValue
- a string of characters to encode for use i.strEncoding
- the encoding used to interpret the encoded bytes.
Use ENCODING_UTF8
public static java.lang.String URLDecode(java.lang.String strValue, java.lang.String strEncoding)
strValue
- the string to decodestrEncoding
- the encoding used to interpret the encoded bytes
XPNullPointerException
- if input null
XPUnsupportedEncodingException
- if invalid ampersand escape found
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |