org.ajax4jsf.util.base64
Interface BinaryDecoder

All Superinterfaces:
Decoder
All Known Implementing Classes:
URL64Codec, URLCodec

public interface BinaryDecoder
extends Decoder

Defines common decoding methods for byte array decoders.

Version:
$Id: BinaryDecoder.java,v 1.1.2.1 2007/01/09 18:59:12 alexsmirnov Exp $
Author:
Apache Software Foundation

Method Summary
 byte[] decode(byte[] pArray)
          Decodes a byte array and returns the results as a byte array.
 
Methods inherited from interface org.ajax4jsf.util.base64.Decoder
decode
 

Method Detail

decode

byte[] decode(byte[] pArray)
              throws DecoderException
Decodes a byte array and returns the results as a byte array.

Parameters:
pArray - A byte array which has been encoded with the appropriate encoder
Returns:
a byte array that contains decoded content
Throws:
DecoderException - A decoder exception is thrown if a Decoder encounters a failure condition during the decode process.


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