Interface ExampleConfig

    • Method Detail

      • mandatoryString

        String mandatoryString()
        This is a mandatory string that must be specified in the config file.

        The application will not start without it.

        Returns:
        the config value for mandatorString
      • optionalInt

        OptionalInt optionalInt()
        An optional int that may be specified, but may also be left off.

        The application can run without it.3 Und hier ist das @mittendrin enthalten.

        Returns:
        the config value for optionalInt
      • charsetWithDefault

        Charset charsetWithDefault()
        The charset to use. If not specified it defaults to UTF-8.
        Returns:
        the config value for charsetWithDefault
      • optionalInetAddress

        Optional<InetAddress> optionalInetAddress()
        An InetAddress that may be specified.

        The value from the config file must conform to the same rules as the InetAddress constructor. Basically that means that IP addresses or hostnames can be specified.

        Returns:
        the config value for optionalInetAddress