Interface ReportLanguageHandler

  • All Superinterfaces:
    Prioritizable

    public interface ReportLanguageHandler
    extends Prioritizable
    Provides a way for specific reports to overwrite this behavior making possible to select a different language based on some ad-hoc logic Classes that implement this interface should declare the qualifier to define the file extension that they can handle
    • Method Detail

      • getLanguage

        String getLanguage​(Map<?,​?> parameters)
                    throws OBException
        Returns the language value based on an ad-hoc logic.
        Parameters:
        parameters - Report parameters with the required information to to get the language based on the implemented logic
        Returns:
        Language to use in the desired report
        Throws:
        OBException