Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

org.apache.commons.codec.BinaryEncoder Interface Reference

Inheritance diagram for org.apache.commons.codec.BinaryEncoder:

org.apache.commons.codec.Encoder org.apache.commons.codec.binary.Base64 org.apache.commons.codec.net.QuotedPrintableCodec List of all members.

Detailed Description

Defines common encoding methods for byte array encoders.

Author:
Apache Software Foundation
Version:
Id
BinaryEncoder.java,v 1.1 2005/07/25 16:24:38 dev Exp

Definition at line 25 of file BinaryEncoder.java.

Public Member Functions

byte[] encode (byte[] pArray) throws EncoderException
 Encodes a byte array and return the encoded data as a byte array.


Member Function Documentation

byte [] org.apache.commons.codec.BinaryEncoder.encode byte[]  pArray  )  throws EncoderException
 

Encodes a byte array and return the encoded data as a byte array.

Parameters:
pArray Data to be encoded
Returns:
A byte array containing the encoded data
Exceptions:
EncoderException thrown if the Encoder encounters a failure condition during the encoding process.

Implemented in org.apache.commons.codec.binary.Base64, and org.apache.commons.codec.net.QuotedPrintableCodec.


The documentation for this interface was generated from the following file:
Generated on Wed Dec 14 21:05:37 2005 for OpenMobileIS by  doxygen 1.4.4