Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.plumtree.remote.util
Class CSPCodec

    java.lang.Object
      com.plumtree.remote.util.CSPCodec

public final class CSPCodec
extends java.lang.Object

Helper class for coding/decoding strings and characters according to the scheme used by the CSP protocol (underlying protocol for Portlet API).

Method Summary
`static java.lang.String` | `decode(java.lang.String input)` CSP-decodes a string.
`static java.lang.String` | `encode(char input)` CSP-encodes a character.
`static java.lang.String` | `encode(java.lang.String input)` CSP-encodes a string.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### encode

    public static java.lang.String encode(java.lang.String input)

  CSP-encodes a string.

  Parameters:
    `input` - String to encode
  Returns:
    CSP-encoded representation of the input string

### encode

    public static java.lang.String encode(char input)

  CSP-encodes a character.

  Parameters:
    `input` - Character to encode
  Returns:
    CSP-encoded representation of the input character

### decode

    public static java.lang.String decode(java.lang.String input)

  CSP-decodes a string.

  Parameters:
    `input` - CSP-encoded string
  Returns:
    CSP-decoded string

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

For additional information on the IDK, including tutorials, blogs, code samples and more,see the AquaLogic User Interaction Developer Center on BEA dev2dev.

Copyright ©2007 BEA Systems, Inc. All Rights Reserved.