INIConfiguration.Builder (Apache Commons Configuration 2.15.1 API)
Description: declaration: package: org.apache.commons.configuration2, class: INIConfiguration, class: Builder

Package org.apache.commons.configuration2

# Class INIConfiguration.Builder

java.lang.Object
org.apache.commons.configuration2.INIConfiguration.Builder

Enclosing class:
  `INIConfiguration`

public static class INIConfiguration.Builder extends Object
Builds instances of INIConfiguration.

Since:
  2.9.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Builder()`
  Constructs a new instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `INIConfiguration`
  `build()`
  Builds a new INIConfiguration.
  `INIConfiguration.Builder`
  `setSectionInLineCommentsAllowed(boolean sectionInLineCommentsAllowed)`
  Sets whether in-line comments on the section line are allowed.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Builder

    public Builder()
    Constructs a new instance.

- ## Method Details

  - ### build

    public INIConfiguration build()
    Builds a new INIConfiguration.
    Returns:
      a new INIConfiguration.

  - ### setSectionInLineCommentsAllowed

    public INIConfiguration.Builder setSectionInLineCommentsAllowed(boolean sectionInLineCommentsAllowed)
    Sets whether in-line comments on the section line are allowed.
    Parameters:
      `sectionInLineCommentsAllowed` - Whether in-line comments on the section line are allowed.
    Returns:
      `this` instance.