Analyses the content of the general section of an ini configuration file
and fills out the class arguments with this data.

@param section
{@link Section} with name "general"
344297
private void handleGlobalArguments(Section section) {
		for (String key : section.keySet()) {
			switch (key) {
			case OPTION_OFFLINE_MODE:
				if (section.get(key).toLowerCase().equals("true")) {
					this.offlineMode = true;
				}
				break;
			case OPTION_QUIET:
				if (section.get(key).toLowerCase().equals("true")) {
					this.quiet = true;
				}
				break;
			case OPTION_CREATE_REPORT:
				this.reportFilename = section.get(key);
				break;
			case OPTION_DUMP_LOCATION:
				this.dumpDirectoryLocation = section.get(key);
				break;
			case OPTION_FILTER_LANGUAGES:
				setLanguageFilters(section.get(key));
				break;
			case OPTION_FILTER_SITES:
				setSiteFilters(section.get(key));
				break;
			case OPTION_FILTER_PROPERTIES:
				setPropertyFilters(section.get(key));
				break;
			case OPTION_LOCAL_DUMPFILE:
				this.inputDumpLocation = section.get(key);
				break;
			default:
				logger.warn("Unrecognized option: " + key);
			}
		}
	}
536241
private function storeSection($section, $content)
    {
        if (!isset($this->scope->sections[$section])) {
            $this->scope->sections[$section] = $content;
        }
    }
743228
public void addTimeSection(final TimeSection SECTION) {
        if (null == SECTION) return;
        getTimeSections().add(SECTION);
        getTimeSections().sort(new TimeSectionComparator());
        fireTileEvent(SECTION_EVENT);
    }
1023459
public void removeSection(final Section SECTION) {
        if (null == SECTION) return;
        sections.remove(SECTION);
        Collections.sort(sections, new SectionComparator());
        fireUpdateEvent(SECTION_EVENT);
    }
645178
protected void createGeneralSectionItems(Composite composite) {
		addCheckBox(composite, getActivationText(),
				ExtraLanguagePreferenceAccess.getPrefixedKey(getPreferenceID(),
						ExtraLanguagePreferenceAccess.ENABLED_PROPERTY),
				BOOLEAN_VALUES, 0);
	}
1302207
public void addSection(final Section SECTION) {
        if (null == SECTION) return;
        getSections().add(SECTION);
        getSections().sort(new SectionComparator());
        fireTileEvent(SECTION_EVENT);
    }
416897
def has_section(self, section) -> bool:
        
        self.config.read(self.filepath)
        return self.config.has_section(section)
538987
public void addSection(final TimeSection SECTION) {
        if (null == SECTION) return;
        sections.add(SECTION);
        Collections.sort(sections, new TimeSectionComparator());
        fireUpdateEvent(SECTION_EVENT);
    }
1300026
public void addSectionHandling( String name, EnumMap<SIT, EnumMap<CIT, Boolean>> sh ){
		sectionHandling.put( SectionType.USER_SECTION.toString() + name.toUpperCase(), sh);
	}
1170859
def run_configurations(callback, sections_reader):
    """"""
    base = dict(OPTIONS)
    sections = sections_reader()
    if sections is None:
        logger.info("Configuration not found in .ini files. "
                    "Running with default settings")
        recompile()
    elif sections == []:
        logger.info("Configuration does not match current runtime. "
                    "Exiting")
    results = []
    for section, options in sections:
        OPTIONS.clear()
        OPTIONS.update(base)
        OPTIONS.update(options)
        logger.debug("Running configuration from section \"%s\". OPTIONS: %r",
                     section, OPTIONS)
        results.append(callback())
    return results
41191
def add_section(self, section):
        
        # check if section already exists
        if not self.config.has_section(section):
            self.config.add_section(section)
            # return updated sections
            return (True, self.config.sections())
        return (False, 'Section: ' + section + ' already exists')
809066
public void setSections( List<Section> sections ){
		for( Section s: sections ) superSection.addSection(s);
	}
438405
private void addResultSection(String mediaQueryPath, Section section) {
        Section qry = mediaQueries.get(mediaQueryPath);
        if (qry == null) {
            qry = new Section();
            qry.getSelectors().add(Collections.singletonList(mediaQueryPath));
            mediaQueries.put(mediaQueryPath, qry);
        }
        qry.addSubSection(section);
    }
1069608
def add_to_config(cls, section, name, value):
        
        if value:
            if not cls._config.has_section(section):
                cls._config.add_section(section)
            cls._config.set(section, name, str(value))
1020117
protected void __startSection(String name) {
        if (null == name) throw new NullPointerException("section name cannot be null");
        if (null != tmpOut) throw new IllegalStateException("section cannot be nested");
        tmpCaller = __caller;
        __caller = null;
        tmpOut = __buffer;
        __buffer = new StringBuilder();
        section = name;
    }
838010
public void generate(Output out) throws IOException {
        for (Section section : sections) {
            section.generate(out);
            out.lineBreak();
            out.optionalLineBreak();
        }
    }
452357
private void loadSectionBytes() throws IOException {
        Preconditions.checkState(size == (int) size,
                "section is too large to dump into byte array");
        try (RandomAccessFile raf = new RandomAccessFile(file, "r")) {
            raf.seek(offset);
            byte[] bytes = new byte[(int) size];
            raf.read(bytes);
            sectionbytes = Optional.of(bytes);
        }
    }