railo.runtime.coder
Class UUCoder

java.lang.Object
  extended by railo.runtime.coder.UUCoder

public final class UUCoder
extends Object

Unix Coding for java


Constructor Summary
UUCoder()
           
 
Method Summary
static byte[] decode(String str)
          decodes back a String to a byte array
static String encode(byte[] barr)
          encodes a byte array to a String
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UUCoder

public UUCoder()
Method Detail

encode

public static String encode(byte[] barr)
encodes a byte array to a String

Parameters:
barr -
Returns:
encoded String

decode

public static byte[] decode(String str)
                     throws CoderException
decodes back a String to a byte array

Parameters:
b -
Returns:
decoded byte array
Throws:
CoderException


Copyright © 2012 Railo