Inheritance diagram for org.apache.commons.codec.Encoder:
Definition at line 28 of file Encoder.java.
Public Member Functions | |
Object | encode (Object pObject) throws EncoderException |
Encodes an "Object" and returns the encoded content as an Object. |
Object org.apache.commons.codec.Encoder.encode | ( | Object | pObject | ) | throws EncoderException |
Encodes an "Object" and returns the encoded content as an Object.
The Objects here may just be byte[]
or String
s depending on the implementation used.
pObject | An object ot encode |
EncoderException | an encoder exception is thrown if the encoder experiences a failure condition during the encoding process. |
Implemented in org.apache.commons.codec.binary.Base64, and org.apache.commons.codec.net.QuotedPrintableCodec.