Class IOSetting

    • Constructor Detail

      • IOSetting

        public IOSetting​(String name,
                         IOSetting.Importance level,
                         String question,
                         String defaultSetting)
        The default constructor that sets this field. All textual information is supposed to be English. Localization is taken care off by the ReaderConfigurator.
        Parameters:
        name - Name of the setting
        level - Level at which question is asked
        question - Question that is popped to the user when the ReaderSetting needs setting
        defaultSetting - The default setting, used if not overwritten by a user
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: ISetting
        Access the name of the setting.
        Specified by:
        getName in interface ISetting
        Returns:
        the name of the setting
      • getQuestion

        public String getQuestion()
      • getDefaultSetting

        public String getDefaultSetting()
      • setSetting

        public void setSetting​(String setting)
                        throws CDKException
        Sets the setting for a certain question. It will throw a CDKException when the setting is not valid.
        Throws:
        CDKException
      • getSetting

        public String getSetting()
        Sets the setting for a certain question. It will throw a CDKException when the setting is not valid.