Home All Groups
commons-codec / org / apache / commons / codec / Encoder.html /
org.apache.commons.codec

Interface Encoder

    • Method Detail

      • encode

        Object encode(Object source)
               throws EncoderException
        Encodes an "Object" and returns the encoded content as an Object. The Objects here may just be byte[] or Strings depending on the implementation used.
        Parameters:
        source - An object to encode
        Returns:
        An "encoded" Object
        Throws:
        EncoderException - An encoder exception is thrown if the encoder experiences a failure condition during the encoding process.

Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.