Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core Implementation 4.1.0.20110910-M2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.ajax4jsf.util.base64
Class Codec

    java.lang.Object
      org.ajax4jsf.util.base64.Codec

    public class Codec

extends java.lang.Object

Version:
  $Revision: 1.1.2.1 $ $Date: 2007/01/09 18:59:10 $
Author:
  shura (latest modification by $Author: alexsmirnov $)

Constructor Summary
`Codec()`
`Codec(java.lang.String p)`

Method Summary
`byte[]` | `decode(byte[] src)`
`java.lang.String` | `decode(java.lang.String str)`
`byte[]` | `encode(byte[] src)`
`java.lang.String` | `encode(java.lang.String str)`
`void` | `setPassword(java.lang.String p)`

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

Constructor Detail

### Codec

    public Codec()

### Codec

    public Codec(java.lang.String p)
          throws java.lang.Exception

Throws:
  `java.lang.Exception`

Method Detail

### setPassword

    public void setPassword(java.lang.String p)
                     throws javax.faces.FacesException

  Parameters:
    `p` -
  Throws:
    `java.security.InvalidKeyException`
    `java.io.UnsupportedEncodingException`
    `java.security.spec.InvalidKeySpecException`
    `java.security.NoSuchAlgorithmException`
    `javax.crypto.NoSuchPaddingException`
    `javax.faces.FacesException`

### decode

    public java.lang.String decode(java.lang.String str)
                            throws java.lang.Exception

  Throws:
    `java.lang.Exception`

### encode

    public java.lang.String encode(java.lang.String str)
                            throws java.lang.Exception

  Throws:
    `java.lang.Exception`

### decode

    public byte[] decode(byte[] src)
                  throws java.lang.Exception

  Throws:
    `java.lang.Exception`

### encode

    public byte[] encode(byte[] src)
                  throws java.lang.Exception

  Throws:
    `java.lang.Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core Implementation 4.1.0.20110910-M2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.