rewrite-config-servlet 2.0.0.Alpha2

org.ocpsoft.rewrite.servlet.config.encodequery
Class Base64EncodingStrategy

java.lang.Object
  extended by org.ocpsoft.rewrite.servlet.config.encodequery.Base64EncodingStrategy
All Implemented Interfaces:
EncodingStrategy

public class Base64EncodingStrategy
extends Object
implements EncodingStrategy

Simple Base64 encoding strategy.

Author:
Lincoln Baxter, III

Constructor Summary
Base64EncodingStrategy()
           
 
Method Summary
 String decode(String value)
          Decode the given value
 String encode(String value)
          Encode the given value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64EncodingStrategy

public Base64EncodingStrategy()
Method Detail

encode

public String encode(String value)
Description copied from interface: EncodingStrategy
Encode the given value

Specified by:
encode in interface EncodingStrategy

decode

public String decode(String value)
Description copied from interface: EncodingStrategy
Decode the given value

Specified by:
decode in interface EncodingStrategy

rewrite-config-servlet 2.0.0.Alpha2

Copyright © 2012 OCPsoft. All Rights Reserved.