Java org.eclipse.jgit.lib StoredConfig fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.lib StoredConfig fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.lib StoredConfig.

The text is from its open source code.

Subclass

org.eclipse.jgit.lib.StoredConfig has subclasses.
Click this link to see all its subclasses.

Method

voidfromText(String text)
Clear this configuration and reset to the contents of the parsed string.
Tget(SectionParser parser)
Obtain a handle to a parsed set of configuration values.
booleangetBoolean(final String section, String subsection, final String name, final boolean defaultValue)
Get a boolean value from the git config
booleangetBoolean(final String section, final String name, final boolean defaultValue)
Get a boolean value from the git config
intgetInt(final String section, final String name, final int defaultValue)
Obtain an integer value from the configuration.
intgetInt(final String section, String subsection, final String name, final int defaultValue)
Obtain an integer value from the configuration.
SetgetNames(String section, String subsection)
Get the list of names defined for this subsection
SetgetNames(String section)
Get the list of names defined for this section
SetgetSections()
Get the sections defined in this org.eclipse.jgit.lib.Config .
StringgetString(final String section, String subsection, final String name)
Get string value or null if not found.
String[]getStringList(final String section, String subsection, final String name)
Get a list of string values

If this instance was created with a base, the base's values are returned first (if any).

SetgetSubsections(String section)
Get set of all subsections of specified section within this configuration and its base configuration
voidload()
Load the configuration from the persistent store.
voidsave()
Save the configuration to the persistent store.
voidsetBoolean(final String section, final String subsection, final String name, final boolean value)
Add or modify a configuration value.
voidsetEnum(final String section, final String subsection, final String name, final T value)
Add or modify a configuration value.
voidsetInt(final String section, final String subsection, final String name, final int value)
Add or modify a configuration value.
voidsetString(final String section, final String subsection, final String name, final String value)
Add or modify a configuration value.
voidsetStringList(final String section, final String subsection, final String name, final List values)
Set a configuration value.
StringtoText()
Get this configuration, formatted as a Git style text file.
voidunset(final String section, final String subsection, final String name)
Remove a configuration value.
voidunsetSection(String section, String subsection)
Remove all configuration values under a single section.