Inheritance diagram for org.apache.commons.codec.Decoder:
Allows a user to pass a generic Object to any Decoder implementation in the codec package.
One of the two interfaces at the center of the codec package.
Definition at line 32 of file Decoder.java.
Public Member Functions | |
Object | decode (Object pObject) throws DecoderException |
Decodes an "encoded" Object and returns a "decoded" Object. |
|
Decodes an "encoded" Object and returns a "decoded" Object. Note that the implementation of this interface will try to cast the Object parameter to the specific type expected by a particular Decoder implementation. If a java.lang.ClassCastException occurs this decode method will throw a DecoderException.
Implemented in org.apache.commons.codec.binary.Base64, and org.apache.commons.codec.net.QuotedPrintableCodec. |