Interface ILcyAddOnDecoder

All Known Implementing Classes:
ALcyDefaultAddOn

@Deprecated public interface ILcyAddOnDecoder

An addon decoder.

Given a config source name (a string that represents an addon in some way, it could be a filename, an url, a database access descriptor, ...), it returns an instance of ALcyAddOn.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canDecodeAddOn(String aConfigSourceName)
    Deprecated.
    Returns true if this decoder can decode the addon represented by the given string.
    decodeAddOn(String aConfigSourceName)
    Deprecated.
    Decodes an addon given the config source name.
  • Method Details

    • canDecodeAddOn

      boolean canDecodeAddOn(String aConfigSourceName)
      Deprecated.
      Returns true if this decoder can decode the addon represented by the given string.
      Parameters:
      aConfigSourceName - The string that represents the addon.
      Returns:
      True if an addon can be decoded for the given config source name, false otherwise.
      See Also:
    • decodeAddOn

      ALcyAddOn decodeAddOn(String aConfigSourceName) throws IOException
      Deprecated.
      Decodes an addon given the config source name. The config source name can be anything: a file name, an url, a database access descriptor. However implementations might choose to only support a certain type
      Parameters:
      aConfigSourceName - The string that represents the addon.
      Returns:
      The decoded addon.
      Throws:
      IOException - In case any io exceptions occur during the decoding.
      See Also: