Interface IDecoder<D>

  • Type Parameters:
    D - the type of object to decode
    All Known Implementing Classes:
    CsvDecoder, JsonDecoder, TxtDecoder

    public interface IDecoder<D>
    IDecoder is the interface for the decoder.
    • Method Detail

      • decode

        D decode​(String data,
                 Object... args)
          throws Exception
        Decodes the data.
        Parameters:
        data - the data to decode
        args - optional arguments
        Returns:
        the decoded data
        Throws:
        Exception - if an error occurs