Secure iNet Factory

com.jscape.inet.util
Class Uuencode

java.lang.Object
  extended by com.jscape.inet.util.Uuencode
All Implemented Interfaces:
Codec

public class Uuencode
extends java.lang.Object
implements Codec

Implements methods for encoding and decoding using uuencode algorithm.


Constructor Summary
Uuencode()
           
 
Method Summary
 byte[] decode(char[] contents)
          Decodes data from uuencoded format.
 char[] encode(byte[] contents)
          Encodes data to uuencode format.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Uuencode

public Uuencode()
Method Detail

encode

public char[] encode(byte[] contents)
Encodes data to uuencode format.

Specified by:
encode in interface Codec
Parameters:
contents - the data to encode
Returns:
encoded data

decode

public byte[] decode(char[] contents)
Decodes data from uuencoded format.

Specified by:
decode in interface Codec
Parameters:
contents - the data to decode
Returns:
decoded data

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved