Class AbstractGroupParameters

    • Constructor Detail

      • AbstractGroupParameters

        public AbstractGroupParameters()
    • Method Detail

      • load

        protected abstract void load​(ParametersString buffer)
        Load from buffer. The protected buffer variable is visible in all subclasses of BaseParameters.

      • save

        protected abstract void save​(ParametersString buffer)
        Save to buffer. The protected buffer variable is visible in all subclasses of BaseParameters.

      • fromString

        public void fromString​(String data)
        Description copied from class: StringParameters
        Reset this parameters object to its default values and then load additional parameters from the provided data.

        Subclasses should not normally need to override this method unless they are maintaining complex values (eg, InlineCodeFinder) that require extra initialization as part of their parameter state.

        Specified by:
        fromString in interface IParameters
        Overrides:
        fromString in class StringParameters
        Parameters:
        data - the string holding the parameters. It must be formatted as the string generated by toString(). Line-breaks must be normalized to '\n'. It can also be null or empty, in such case the parameters are left with their current values. Use reset() to reset the parameters to their defaults.
      • toString

        public final String toString()
        Description copied from class: StringParameters
        Serialize this parameters object to a string.

        Subclasses should not normally need to override this method unless they are maintaining complex values (eg, InlineCodeFinder) that require extra serialization as part of their parameter state.

        Specified by:
        toString in interface IParameters
        Overrides:
        toString in class StringParameters
        Returns:
        the string holding all the parameters.
      • loadFromResource

        public boolean loadFromResource​(Class<?> classRef,
                                        String resourceLocation)
      • saveToResource

        public void saveToResource​(Class<?> classRef,
                                   String resourceLocation)
      • getData

        public String getData()