Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractSection - Class in com.siperf.confio.sections
-
Implementation of Section interface.
- AbstractSection(String, SectionId, SectionType) - Constructor for class com.siperf.confio.sections.AbstractSection
-
Constructs an AbstractSection with the specified name, ID, and type.
- AbstractSection.Content - Class in com.siperf.confio.sections
-
Inner class to hold content-related data.
- AbstractSectionBuilder - Class in com.siperf.confio.sections
-
Abstract base class for SectionBuilder implementations providing common parsing logic.
- AbstractSectionBuilder(String) - Constructor for class com.siperf.confio.sections.AbstractSectionBuilder
- addContentLine(String, String, String) - Method in class com.siperf.confio.sections.AbstractSectionBuilder
-
Processes a content line.
- addContentLine(String, String, String) - Method in class com.siperf.confio.sections.keyvalue.exampl.UppercaseSectionBuilder
- addContentLine(String, String, String) - Method in class com.siperf.confio.sections.keyvalue.KeyValueSectionBuilder
- addContentLine(String, String, String) - Method in interface com.siperf.confio.sections.SectionBuilder
-
Adds a content line with parsing logic.
- addRawLine(String) - Method in class com.siperf.confio.sections.AbstractSectionBuilder
- addRawLine(String) - Method in interface com.siperf.confio.sections.SectionBuilder
-
Adds a raw line to the section.
- addSubsection(Section) - Method in class com.siperf.confio.sections.AbstractSection
-
Adds a subsection to this section.
- addSubsection(SectionBuilder) - Method in class com.siperf.confio.sections.AbstractSectionBuilder
-
Adds a subsection to this section builder.
- addSubsection(SectionBuilder) - Method in interface com.siperf.confio.sections.SectionBuilder
-
Adds a subsection to this section builder.
- append(String) - Method in class com.siperf.confio.SectionId
-
Creates a child section ID by appending a part to this section ID.
B
- bool() - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Returns a builder for accessing boolean parameters with validation.
- bool() - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns a builder for accessing boolean parameters with validation.
- BooleanParameterAccessor - Class in com.siperf.confio.sections.keyvalue
-
Builder class for accessing boolean parameters with fluent API and validation.
- BooleanParameterAccessor(KeyValueAbstractSection) - Constructor for class com.siperf.confio.sections.keyvalue.BooleanParameterAccessor
-
Creates a new BooleanParameterBuilder for the specified section.
- build() - Method in class com.siperf.confio.ConfigurationSource.Builder
-
Builds the ConfigurationSource instance.
- build() - Method in class com.siperf.confio.sections.AbstractSectionBuilder
-
Builds this section and all its subsections recursively.
- build() - Method in interface com.siperf.confio.sections.SectionBuilder
-
Builds the Section instance.
- builder() - Static method in class com.siperf.confio.ConfigurationSource
-
Creates a new Builder instance.
- Builder() - Constructor for class com.siperf.confio.ConfigurationSource.Builder
C
- caseSensitive(boolean) - Method in class com.siperf.confio.sections.keyvalue.EnumParameterAccessor
-
Sets whether enum value matching should be case-sensitive.
- charset(Charset) - Method in class com.siperf.confio.ConfigurationSource.Builder
-
Sets the charset.
- CharsetDetector - Class in com.siperf.confio.utils
-
Utility class for detecting charset encoding from file content.
- clearCustomBuilders() - Method in class com.siperf.confio.sections.SectionBuilderFactory
-
Clears all registered custom builders.
- com.siperf.commons.libs.java.app.resources - package com.siperf.commons.libs.java.app.resources
- com.siperf.confio - package com.siperf.confio
-
ConfIO library for loading and parsing INI-style configuration files.
- com.siperf.confio.exceptions - package com.siperf.confio.exceptions
- com.siperf.confio.sections - package com.siperf.confio.sections
- com.siperf.confio.sections.json - package com.siperf.confio.sections.json
- com.siperf.confio.sections.keyvalue - package com.siperf.confio.sections.keyvalue
- com.siperf.confio.sections.keyvalue.exampl - package com.siperf.confio.sections.keyvalue.exampl
- com.siperf.confio.sections.text - package com.siperf.confio.sections.text
- com.siperf.confio.utils - package com.siperf.confio.utils
- computeType(Map<String, String>, List<String>) - Method in class com.siperf.confio.sections.keyvalue.KeyValueSectionBuilder
-
Computes the section type based on parameters and content lines.
- ConfigurationFile - Interface in com.siperf.confio
-
Representation of a parsed configuration file.
- ConfigurationFileLoader - Class in com.siperf.confio
-
Helper class for loading configuration files.
- ConfigurationLoadException - Class in com.siperf.confio.exceptions
-
Exception thrown when an error occurs while parsing a configuration file.
- ConfigurationLoadException(ConfigurationLoadException) - Constructor for class com.siperf.confio.exceptions.ConfigurationLoadException
- ConfigurationLoadException(ConfigurationParseException, String) - Constructor for class com.siperf.confio.exceptions.ConfigurationLoadException
-
Creates a new exception with the specified ConfigurationParseException.
- ConfigurationLoadException(ConfigurationParseException, Path) - Constructor for class com.siperf.confio.exceptions.ConfigurationLoadException
-
Creates a new exception with the specified ConfigurationParseException and file path.
- ConfigurationLoadException(String) - Constructor for class com.siperf.confio.exceptions.ConfigurationLoadException
- ConfigurationLoadException(String, String) - Constructor for class com.siperf.confio.exceptions.ConfigurationLoadException
- ConfigurationLoadException(String, String, Throwable) - Constructor for class com.siperf.confio.exceptions.ConfigurationLoadException
- ConfigurationLoadException(Throwable) - Constructor for class com.siperf.confio.exceptions.ConfigurationLoadException
- ConfigurationLoadException(Throwable, String) - Constructor for class com.siperf.confio.exceptions.ConfigurationLoadException
- ConfigurationLoadException(Path) - Constructor for class com.siperf.confio.exceptions.ConfigurationLoadException
-
Creates a new exception for file access errors.
- ConfigurationParameterParseException - Class in com.siperf.confio.exceptions
-
Exception thrown when an error occurs while parsing a configuration parameter.
- ConfigurationParameterParseException(String, String) - Constructor for class com.siperf.confio.exceptions.ConfigurationParameterParseException
-
Creates a new exception with the specified parameter key and message.
- ConfigurationParameterParseException(String, String, String) - Constructor for class com.siperf.confio.exceptions.ConfigurationParameterParseException
-
Creates a new exception with the specified parameter key, name and message.
- ConfigurationParameterParseException(String, String, String, String) - Constructor for class com.siperf.confio.exceptions.ConfigurationParameterParseException
-
Creates a new exception with the specified section name, parameter key, name and message.
- ConfigurationParseException - Class in com.siperf.confio.exceptions
-
Exception thrown when an error occurs while parsing a configuration file.
- ConfigurationParseException(String) - Constructor for class com.siperf.confio.exceptions.ConfigurationParseException
-
Creates a new exception with the specified message.
- ConfigurationParseException(String, Throwable) - Constructor for class com.siperf.confio.exceptions.ConfigurationParseException
-
Creates a new exception with the specified message and cause.
- ConfigurationParser - Class in com.siperf.confio
-
Parser for INI-style configuration files.
- ConfigurationParser() - Constructor for class com.siperf.confio.ConfigurationParser
-
Creates a ConfigurationParser with the default SectionBuilder configured.
- ConfigurationSource - Class in com.siperf.confio
-
Represents the source of configuration data.
- ConfigurationSource(EConfigurationSourceType, Charset) - Constructor for class com.siperf.confio.ConfigurationSource
-
Constructor with type and charset.
- ConfigurationSource.Builder - Class in com.siperf.confio
-
Builder class for ConfigurationSource.
- contains(String) - Method in class com.siperf.confio.sections.json.JsonSection
-
Checks if the JSON content contains the specified text.
- contains(String) - Method in class com.siperf.confio.sections.text.TextSection
-
Checks if the text content contains the specified string.
- content - Variable in class com.siperf.confio.sections.AbstractSection
-
Content holder for this section.
- Content() - Constructor for class com.siperf.confio.sections.AbstractSection.Content
- contentLines - Variable in class com.siperf.confio.sections.AbstractSectionBuilder
- createBuilder(String) - Method in class com.siperf.confio.sections.SectionBuilderFactory
-
Creates a SectionBuilder for the given section name.
- createMessage() - Method in class com.siperf.confio.exceptions.ConfigurationLoadException
- createMessage(boolean) - Method in class com.siperf.confio.exceptions.ConfigurationParameterParseException
- createMessage(boolean) - Method in class com.siperf.confio.exceptions.ConfigurationParseException
- createRoot() - Static method in class com.siperf.confio.SectionId
-
Creates a root SectionId.
- createSection() - Method in class com.siperf.confio.sections.AbstractSectionBuilder
-
Creates the concrete Section instance.
- createSection() - Method in class com.siperf.confio.sections.keyvalue.exampl.UppercaseSectionBuilder
- createSection() - Method in class com.siperf.confio.sections.keyvalue.KeyValueSectionBuilder
D
- date() - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Returns a builder for accessing date parameters with validation.
- date() - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns a builder for accessing date parameters with validation.
- DateParameterAccessor - Class in com.siperf.confio.sections.keyvalue
-
Builder class for accessing date parameters with fluent API and validation.
- DateParameterAccessor(KeyValueAbstractSection) - Constructor for class com.siperf.confio.sections.keyvalue.DateParameterAccessor
-
Creates a new DateParameterBuilder for the specified section.
- dateTime() - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Returns a builder for accessing LocalDateTime parameters with validation.
- dateTime() - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns a builder for accessing LocalDateTime parameters with validation.
- DECLARATION_ORDER - Enum constant in enum class com.siperf.confio.ESectionInheritanceType
-
Declaration Order Inheritance
- DEFAULT_CHARSET - Static variable in class com.siperf.confio.utils.CharsetDetector
-
Default charset used when no encoding can be detected.
- detectCharset(InputStream) - Static method in class com.siperf.confio.utils.CharsetDetector
-
Detects charset from BOM (Byte Order Mark) in the input stream.
- detectCharset(Path) - Static method in class com.siperf.confio.utils.CharsetDetector
-
Detects charset from BOM (Byte Order Mark) in the file.
- DoubleParameterAccessor - Class in com.siperf.confio.sections.keyvalue
-
Builder class for accessing double parameters with fluent API and validation.
- DoubleParameterAccessor(KeyValueAbstractSection) - Constructor for class com.siperf.confio.sections.keyvalue.DoubleParameterAccessor
-
Creates a new DoubleParameterBuilder for the specified section.
- doubleValue() - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Returns a builder for accessing double parameters with validation.
- doubleValue() - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns a builder for accessing double parameters with validation.
- duration() - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Returns a builder for accessing duration parameters with validation.
- duration() - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns a builder for accessing duration parameters with validation.
- DurationParameterAccessor - Class in com.siperf.confio.sections.keyvalue
-
Builder class for accessing duration parameters with fluent API and validation.
- DurationParameterAccessor(KeyValueAbstractSection) - Constructor for class com.siperf.confio.sections.keyvalue.DurationParameterAccessor
-
Creates a new DurationParameterBuilder for the specified section.
E
- EConfigurationSourceType - Enum Class in com.siperf.confio
-
Type of configuration source.
- EMBEDDED_FILE - Enum constant in enum class com.siperf.confio.EConfigurationSourceType
-
Configuration loaded from an embedded resource within the application.
- EmbeddedResourcesHelper - Class in com.siperf.commons.libs.java.app.resources
-
https://stackoverflow.com/questions/15695984/java-print-contents-of-text-file-to-screen
- EmbeddedResourcesHelper() - Constructor for class com.siperf.commons.libs.java.app.resources.EmbeddedResourcesHelper
- EnumParameterAccessor<T extends Enum<T>> - Class in com.siperf.confio.sections.keyvalue
-
Builder class for accessing enum parameters with fluent API and validation.
- EnumParameterAccessor(KeyValueAbstractSection, Class<T>) - Constructor for class com.siperf.confio.sections.keyvalue.EnumParameterAccessor
-
Creates a new EnumParameterBuilder for the specified section and enum class.
- enumValue(Class<T>) - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Returns a builder for accessing enum parameters with validation.
- enumValue(Class<T>) - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns a builder for accessing enum parameters with validation.
- equals(Object) - Method in class com.siperf.confio.SectionId
- ESectionInheritanceType - Enum Class in com.siperf.confio
-
Defines the possible types of syntactic inheritance for configuration sections.
- exception - Variable in class com.siperf.confio.exceptions.ConfigurationLoadException
- EXTERNAL_FILE - Enum constant in enum class com.siperf.confio.EConfigurationSourceType
-
Configuration loaded from an external file on the file system.
F
- file(File) - Method in class com.siperf.confio.ConfigurationSource.Builder
-
Sets the file.
- fileCreationMS(long) - Method in class com.siperf.confio.ConfigurationSource.Builder
-
Sets the file creation time in milliseconds.
- fileCreationTime(Date) - Method in class com.siperf.confio.ConfigurationSource.Builder
-
Sets the file creation time.
- fileLastAccessMS(long) - Method in class com.siperf.confio.ConfigurationSource.Builder
-
Sets the file last access time in milliseconds.
- fileLastAccessTime(Date) - Method in class com.siperf.confio.ConfigurationSource.Builder
-
Sets the file last access time.
- fileLastModifiedMS(long) - Method in class com.siperf.confio.ConfigurationSource.Builder
-
Sets the file last modified time in milliseconds.
- fileLastModifiedTime(Date) - Method in class com.siperf.confio.ConfigurationSource.Builder
-
Sets the file last modified time.
- filename - Variable in class com.siperf.confio.exceptions.ConfigurationLoadException
- filepath - Variable in class com.siperf.confio.exceptions.ConfigurationLoadException
- findLine(String) - Method in class com.siperf.confio.sections.text.TextSection
-
Searches for the first occurrence of the specified text.
- findLines(String) - Method in class com.siperf.confio.sections.text.TextSection
-
Searches for lines that match the specified pattern.
- FREE_ORDER - Enum constant in enum class com.siperf.confio.ESectionInheritanceType
-
Free Order Inheritance (Recommended)
- fromParts(String...) - Static method in class com.siperf.confio.SectionId
-
Creates a SectionId from a list of parts.
- fromParts(List<String>) - Static method in class com.siperf.confio.SectionId
-
Creates a SectionId from a list of parts.
- fromString(String) - Static method in class com.siperf.confio.SectionId
-
Creates a SectionId from a string representation.
- fullFilePath(String) - Method in class com.siperf.confio.ConfigurationSource.Builder
-
Sets the full file path.
G
- getCharset() - Method in class com.siperf.confio.ConfigurationSource
- getCompactJson() - Method in class com.siperf.confio.sections.json.JsonSection
-
Returns the JSON content as a compact string (removes extra whitespace).
- getContent() - Method in class com.siperf.confio.sections.AbstractSection
- getContent() - Method in interface com.siperf.confio.sections.Section
-
Returns section content as text.
- getContentLines() - Method in class com.siperf.confio.sections.AbstractSection
- getContentLines() - Method in interface com.siperf.confio.sections.Section
-
Returns section content as a list of lines.
- getDetailedMessage() - Method in class com.siperf.confio.exceptions.ConfigurationLoadException
- getDetailedMessage() - Method in class com.siperf.confio.exceptions.ConfigurationParseException
- getException() - Method in class com.siperf.confio.exceptions.ConfigurationLoadException
- getFile() - Method in class com.siperf.confio.ConfigurationSource
- getFileCreationMS() - Method in class com.siperf.confio.ConfigurationSource
- getFileCreationTime() - Method in class com.siperf.confio.ConfigurationSource
- getFileLastAccessMS() - Method in class com.siperf.confio.ConfigurationSource
- getFileLastAccessTime() - Method in class com.siperf.confio.ConfigurationSource
- getFileLastModifiedMS() - Method in class com.siperf.confio.ConfigurationSource
- getFileLastModifiedTime() - Method in class com.siperf.confio.ConfigurationSource
- getFilename() - Method in class com.siperf.confio.exceptions.ConfigurationLoadException
- getFilepath() - Method in class com.siperf.confio.exceptions.ConfigurationLoadException
- getFirstPart() - Method in class com.siperf.confio.SectionId
-
Returns the first part of this section ID.
- getFormattedJson() - Method in class com.siperf.confio.sections.json.JsonSection
-
Returns the JSON content with basic formatting (adds indentation).
- getFullFilePath() - Method in class com.siperf.confio.ConfigurationSource
- getGeneralSection() - Method in interface com.siperf.confio.ConfigurationFile
-
Returns the general section containing parameters and content from the beginning of the file before the first named section.
- getGlobalParameter(String) - Method in interface com.siperf.confio.ConfigurationFile
-
Returns the global parameter value.
- getGlobalParameter(String, String) - Method in interface com.siperf.confio.ConfigurationFile
-
Returns the global parameter value with default value.
- getGlobalParameters() - Method in interface com.siperf.confio.ConfigurationFile
-
Returns all global parameters.
- getId() - Method in class com.siperf.confio.sections.AbstractSection
- getId() - Method in class com.siperf.confio.sections.AbstractSectionBuilder
- getId() - Method in interface com.siperf.confio.sections.Section
-
Returns the section identifier.
- getId() - Method in interface com.siperf.confio.sections.SectionBuilder
-
Gets the section identifier.
- getInheritanceType() - Method in class com.siperf.confio.ConfigurationParser
-
Gets the inheritance type used for building section hierarchy.
- getInitialException() - Method in class com.siperf.confio.exceptions.ConfigurationLoadException
- getJsonText() - Method in class com.siperf.confio.sections.json.JsonSection
-
Returns the JSON content as text (same as getContent()).
- getLastPart() - Method in class com.siperf.confio.SectionId
-
Returns the last part of this section ID.
- getLine(int) - Method in class com.siperf.confio.sections.text.TextSection
-
Returns a specific line by index (0-based).
- getLineCount() - Method in class com.siperf.confio.sections.text.TextSection
-
Returns the number of lines in the text content.
- getLines(int, int) - Method in class com.siperf.confio.sections.text.TextSection
-
Returns lines within the specified range.
- getMessage() - Method in class com.siperf.confio.exceptions.ConfigurationLoadException
- getMessage() - Method in class com.siperf.confio.exceptions.ConfigurationParseException
- getName() - Method in class com.siperf.confio.sections.AbstractSection
- getName() - Method in interface com.siperf.confio.sections.Section
-
Returns the section name.
- getOrDefault(String, boolean) - Method in class com.siperf.confio.sections.keyvalue.BooleanParameterAccessor
-
Gets a boolean parameter value, returning default value if parameter is absent or invalid.
- getOrDefault(String, double) - Method in class com.siperf.confio.sections.keyvalue.DoubleParameterAccessor
-
Gets a double parameter value, returning default value if parameter is absent or invalid.
- getOrDefault(String, int) - Method in class com.siperf.confio.sections.keyvalue.IntegerParameterAccessor
-
Gets an integer parameter value, returning default value if parameter is absent or invalid.
- getOrDefault(String, long) - Method in class com.siperf.confio.sections.keyvalue.LongParameterAccessor
-
Gets a long parameter value, returning default value if parameter is absent or invalid.
- getOrDefault(String, String) - Method in class com.siperf.confio.sections.keyvalue.StringParameterAccessor
-
Gets a string parameter value, returning default value if parameter is absent or invalid.
- getOrDefault(String, InetAddress) - Method in class com.siperf.confio.sections.keyvalue.InetAddressParameterAccessor
-
Gets an InetAddress parameter value, returning default value if parameter is absent or invalid.
- getOrDefault(String, URI) - Method in class com.siperf.confio.sections.keyvalue.UriParameterAccessor
-
Gets a URI parameter value, returning default value if parameter is absent or invalid.
- getOrDefault(String, Path) - Method in class com.siperf.confio.sections.keyvalue.PathParameterAccessor
-
Gets a path parameter value, returning default value if parameter is absent or invalid.
- getOrDefault(String, Duration) - Method in class com.siperf.confio.sections.keyvalue.DurationParameterAccessor
-
Gets a duration parameter value, returning default value if parameter is absent or invalid.
- getOrDefault(String, LocalDate) - Method in class com.siperf.confio.sections.keyvalue.DateParameterAccessor
-
Gets a date parameter value, returning default value if parameter is absent or invalid.
- getOrDefault(String, LocalDateTime) - Method in class com.siperf.confio.sections.keyvalue.LocalDateTimeParameterAccessor
-
Gets a LocalDateTime parameter value, returning default value if parameter is absent or invalid.
- getOrDefault(String, List<T>) - Method in class com.siperf.confio.sections.keyvalue.ListParameterAccessor
-
Gets a list parameter value, returning default value if parameter is absent or invalid.
- getOrDefault(String, UUID) - Method in class com.siperf.confio.sections.keyvalue.UuidParameterAccessor
-
Gets a UUID parameter value, returning default value if parameter is absent or invalid.
- getOrDefault(String, T) - Method in class com.siperf.confio.sections.keyvalue.EnumParameterAccessor
-
Gets an enum parameter value, returning default value if parameter is absent or invalid.
- getOrNull(String) - Method in class com.siperf.confio.sections.keyvalue.BooleanParameterAccessor
-
Gets a boolean parameter value, returning null if parameter is absent or invalid.
- getOrNull(String) - Method in class com.siperf.confio.sections.keyvalue.DateParameterAccessor
-
Gets a date parameter value, returning null if parameter is absent or invalid.
- getOrNull(String) - Method in class com.siperf.confio.sections.keyvalue.DoubleParameterAccessor
-
Gets a double parameter value, returning null if parameter is absent or invalid.
- getOrNull(String) - Method in class com.siperf.confio.sections.keyvalue.DurationParameterAccessor
-
Gets a duration parameter value, returning null if parameter is absent or invalid.
- getOrNull(String) - Method in class com.siperf.confio.sections.keyvalue.EnumParameterAccessor
-
Gets an enum parameter value, returning null if parameter is absent or invalid.
- getOrNull(String) - Method in class com.siperf.confio.sections.keyvalue.InetAddressParameterAccessor
-
Gets an InetAddress parameter value, returning null if parameter is absent or invalid.
- getOrNull(String) - Method in class com.siperf.confio.sections.keyvalue.IntegerParameterAccessor
-
Gets an integer parameter value, returning null if parameter is absent or invalid.
- getOrNull(String) - Method in class com.siperf.confio.sections.keyvalue.ListParameterAccessor
-
Gets a list parameter value, returning null if parameter is absent or invalid.
- getOrNull(String) - Method in class com.siperf.confio.sections.keyvalue.LocalDateTimeParameterAccessor
-
Gets a LocalDateTime parameter value, returning null if parameter is absent or invalid.
- getOrNull(String) - Method in class com.siperf.confio.sections.keyvalue.LongParameterAccessor
-
Gets a long parameter value, returning null if parameter is absent or invalid.
- getOrNull(String) - Method in class com.siperf.confio.sections.keyvalue.PathParameterAccessor
-
Gets a path parameter value, returning null if parameter is absent or invalid.
- getOrNull(String) - Method in class com.siperf.confio.sections.keyvalue.StringParameterAccessor
-
Gets a string parameter value, returning null if parameter is absent or invalid.
- getOrNull(String) - Method in class com.siperf.confio.sections.keyvalue.UriParameterAccessor
-
Gets a URI parameter value, returning null if parameter is absent or invalid.
- getOrNull(String) - Method in class com.siperf.confio.sections.keyvalue.UuidParameterAccessor
-
Gets a UUID parameter value, returning null if parameter is absent or invalid.
- getOrThrow(String) - Method in class com.siperf.confio.sections.keyvalue.BooleanParameterAccessor
-
Gets a boolean parameter value, throwing exception if parameter is absent or invalid.
- getOrThrow(String) - Method in class com.siperf.confio.sections.keyvalue.DateParameterAccessor
-
Gets a date parameter value, throwing exception if parameter is absent or invalid.
- getOrThrow(String) - Method in class com.siperf.confio.sections.keyvalue.DoubleParameterAccessor
-
Gets a double parameter value, throwing exception if parameter is absent or invalid.
- getOrThrow(String) - Method in class com.siperf.confio.sections.keyvalue.DurationParameterAccessor
-
Gets a duration parameter value, throwing exception if parameter is absent or invalid.
- getOrThrow(String) - Method in class com.siperf.confio.sections.keyvalue.EnumParameterAccessor
-
Gets an enum parameter value, throwing exception if parameter is absent or invalid.
- getOrThrow(String) - Method in class com.siperf.confio.sections.keyvalue.InetAddressParameterAccessor
-
Gets an InetAddress parameter value, throwing exception if parameter is absent or invalid.
- getOrThrow(String) - Method in class com.siperf.confio.sections.keyvalue.IntegerParameterAccessor
-
Gets an integer parameter value, throwing exception if parameter is absent or invalid.
- getOrThrow(String) - Method in class com.siperf.confio.sections.keyvalue.ListParameterAccessor
-
Gets a list parameter value, throwing exception if parameter is absent or invalid.
- getOrThrow(String) - Method in class com.siperf.confio.sections.keyvalue.LocalDateTimeParameterAccessor
-
Gets a LocalDateTime parameter value, throwing exception if parameter is absent or invalid.
- getOrThrow(String) - Method in class com.siperf.confio.sections.keyvalue.LongParameterAccessor
-
Gets a long parameter value, throwing exception if parameter is absent or invalid.
- getOrThrow(String) - Method in class com.siperf.confio.sections.keyvalue.PathParameterAccessor
-
Gets a path parameter value, throwing exception if parameter is absent or invalid.
- getOrThrow(String) - Method in class com.siperf.confio.sections.keyvalue.StringParameterAccessor
-
Gets a string parameter value, throwing exception if parameter is absent or invalid.
- getOrThrow(String) - Method in class com.siperf.confio.sections.keyvalue.UriParameterAccessor
-
Gets a URI parameter value, throwing exception if parameter is absent or invalid.
- getOrThrow(String) - Method in class com.siperf.confio.sections.keyvalue.UuidParameterAccessor
-
Gets a UUID parameter value, throwing exception if parameter is absent or invalid.
- getParameter(String) - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
- getParameter(String) - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns the parameter value as a string.
- getParameter(String, String) - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
- getParameter(String, String) - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns the parameter value as a string with default value.
- getParameterKey() - Method in class com.siperf.confio.exceptions.ConfigurationParameterParseException
-
Returns the parameter key.
- getParameterName() - Method in class com.siperf.confio.exceptions.ConfigurationParameterParseException
-
Returns the parameter name.
- getParameterOrDefault(String, String) - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Gets a parameter value, returning default value if parameter is absent (quotes and comments are not processed).
- getParameterOrDefault(String, String, String) - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Gets a parameter value, returning default value if parameter is absent (quotes and comments are not processed).
- getParameterOrDefault(String, String, String, KeyValueAbstractSection.EmptyParameterBehaviour) - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Gets a parameter value, returning default value if parameter is absent.
- getParameterOrNull(String) - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Gets a parameter value, returning null if parameter is absent (quotes and comments are not processed).
- getParameterOrNull(String, String) - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Gets a parameter value, returning null if parameter is absent (quotes and comments are not processed).
- getParameterOrNull(String, String, KeyValueAbstractSection.EmptyParameterBehaviour) - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Gets a parameter value, returning null if parameter is absent.
- getParameterOrThrow(String) - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Gets a parameter value, throwing exception if parameter is absent (quotes and comments are not processed).
- getParameterOrThrow(String, String) - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Gets a parameter value, throwing exception if parameter is absent (quotes and comments are not processed).
- getParameterOrThrow(String, String, KeyValueAbstractSection.EmptyParameterBehaviour) - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Gets a parameter value, throwing exception if parameter is absent.
- getParameters() - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
- getParameters() - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns all section parameters as a Map.
- getParent() - Method in class com.siperf.confio.SectionId
-
Returns the parent section ID (all parts except the last one).
- getParent() - Method in class com.siperf.confio.sections.AbstractSection
- getParent() - Method in class com.siperf.confio.sections.AbstractSectionBuilder
- getParent() - Method in interface com.siperf.confio.sections.Section
-
Returns the parent section.
- getParent() - Method in interface com.siperf.confio.sections.SectionBuilder
-
Returns the parent section builder.
- getParentDirectoryName() - Method in class com.siperf.confio.ConfigurationSource
- getParseException() - Method in class com.siperf.confio.exceptions.ConfigurationLoadException
-
Returns the nested ConfigurationParseException if present, otherwise null.
- getPart(int) - Method in class com.siperf.confio.SectionId
-
Returns the part at the specified index.
- getPartCount() - Method in class com.siperf.confio.SectionId
-
Returns the number of parts in this section ID.
- getParts() - Method in class com.siperf.confio.SectionId
-
Returns the parts of this section ID as an unmodifiable list.
- getRawLines() - Method in class com.siperf.confio.sections.AbstractSection
- getRawLines() - Method in interface com.siperf.confio.sections.Section
-
Returns all section lines (including comments and empty lines).
- getRelativeFilePath() - Method in class com.siperf.confio.ConfigurationSource
- getResource(String) - Static method in class com.siperf.commons.libs.java.app.resources.EmbeddedResourcesHelper
-
Example.
- getResourceAsFile(InputStream) - Static method in class com.siperf.commons.libs.java.app.resources.EmbeddedResourcesHelper
- getResourceAsFile(Class<?>, String) - Static method in class com.siperf.commons.libs.java.app.resources.EmbeddedResourcesHelper
-
Example.
- getResourceAsStream(Class<?>, String) - Static method in class com.siperf.commons.libs.java.app.resources.EmbeddedResourcesHelper
-
Example.
- getResourceAsStream(String) - Static method in class com.siperf.commons.libs.java.app.resources.EmbeddedResourcesHelper
- getResourceFilepath(Class<?>, String) - Static method in class com.siperf.commons.libs.java.app.resources.EmbeddedResourcesHelper
-
Example.
- getSection(String) - Method in interface com.siperf.confio.ConfigurationFile
-
Returns a section by name.
- getSection(String, Class<T>) - Method in interface com.siperf.confio.ConfigurationFile
-
Returns a section by name with specific type.
- getSectionBuilderFactory() - Method in class com.siperf.confio.ConfigurationParser
-
Gets the SectionBuilderFactory used by this parser.
- getSectionName() - Method in class com.siperf.confio.exceptions.ConfigurationParameterParseException
-
Returns the section name.
- getSectionName() - Method in class com.siperf.confio.sections.AbstractSectionBuilder
- getSectionName() - Method in interface com.siperf.confio.sections.SectionBuilder
-
Gets the section name.
- getSectionNames() - Method in interface com.siperf.confio.ConfigurationFile
-
Returns a list of all section names.
- getSections() - Method in interface com.siperf.confio.ConfigurationFile
-
Returns all configuration sections.
- getSubsection(SectionId) - Method in class com.siperf.confio.sections.AbstractSection
- getSubsection(SectionId) - Method in class com.siperf.confio.sections.AbstractSectionBuilder
-
Returns a subsection by its identifier.
- getSubsection(SectionId) - Method in interface com.siperf.confio.sections.Section
-
Returns a subsection by its identifier.
- getSubsection(SectionId) - Method in interface com.siperf.confio.sections.SectionBuilder
-
Returns a subsection by its identifier.
- getSubsection(String) - Method in class com.siperf.confio.sections.AbstractSection
- getSubsection(String) - Method in class com.siperf.confio.sections.AbstractSectionBuilder
-
Returns a direct subsection by its name (first part of the identifier).
- getSubsection(String) - Method in interface com.siperf.confio.sections.Section
-
Returns a direct subsection by its name (first part of the identifier).
- getSubsection(String) - Method in interface com.siperf.confio.sections.SectionBuilder
-
Returns a direct subsection by its name (first part of the identifier).
- getSubsection(String, Class<T>) - Method in class com.siperf.confio.sections.AbstractSection
- getSubsection(String, Class<T>) - Method in interface com.siperf.confio.sections.Section
-
Returns a direct subsection by its name with specific type.
- getSubsections() - Method in class com.siperf.confio.sections.AbstractSection
- getSubsections() - Method in class com.siperf.confio.sections.AbstractSectionBuilder
-
Returns an ordered list of all subsections contained in this section.
- getSubsections() - Method in interface com.siperf.confio.sections.Section
-
Returns an ordered list of all subsections contained in this section.
- getSubsections() - Method in interface com.siperf.confio.sections.SectionBuilder
-
Returns an ordered list of all subsections contained in this section.
- getText() - Method in class com.siperf.confio.sections.text.TextSection
-
Returns the text content as a single string.
- getType() - Method in class com.siperf.confio.ConfigurationSource
- getType() - Method in class com.siperf.confio.sections.AbstractSection
- getType() - Method in interface com.siperf.confio.sections.Section
-
Returns the section content type.
H
- hasGlobalParameter(String) - Method in interface com.siperf.confio.ConfigurationFile
-
Checks if the global scope contains the specified parameter.
- hashCode() - Method in class com.siperf.confio.SectionId
- hasParameter(String) - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
- hasParameter(String) - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Checks if the section contains the specified parameter.
- hasParseException() - Method in class com.siperf.confio.exceptions.ConfigurationLoadException
-
Returns true if this exception contains a nested ConfigurationParseException.
- hasSection(String) - Method in interface com.siperf.confio.ConfigurationFile
-
Checks if the configuration contains the specified section.
- hasSubsection(SectionId) - Method in class com.siperf.confio.sections.AbstractSection
- hasSubsection(SectionId) - Method in class com.siperf.confio.sections.AbstractSectionBuilder
-
Checks if this section contains a subsection with the specified ID.
- hasSubsection(SectionId) - Method in interface com.siperf.confio.sections.Section
-
Checks if this section contains a subsection with the specified ID.
- hasSubsection(SectionId) - Method in interface com.siperf.confio.sections.SectionBuilder
-
Checks if this section contains a subsection with the specified ID.
- hasSubsection(String) - Method in class com.siperf.confio.sections.AbstractSection
- hasSubsection(String) - Method in class com.siperf.confio.sections.AbstractSectionBuilder
-
Checks if this section contains a direct subsection with the specified name.
- hasSubsection(String) - Method in interface com.siperf.confio.sections.Section
-
Checks if this section contains a direct subsection with the specified name.
- hasSubsection(String) - Method in interface com.siperf.confio.sections.SectionBuilder
-
Checks if this section contains a direct subsection with the specified name.
I
- id - Variable in class com.siperf.confio.sections.AbstractSectionBuilder
- inetAddress() - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Returns a builder for accessing InetAddress parameters with validation.
- inetAddress() - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns a builder for accessing InetAddress parameters with validation.
- InetAddressParameterAccessor - Class in com.siperf.confio.sections.keyvalue
-
Builder class for accessing InetAddress parameters with fluent API and validation.
- InetAddressParameterAccessor(KeyValueAbstractSection) - Constructor for class com.siperf.confio.sections.keyvalue.InetAddressParameterAccessor
-
Creates a new InetAddressParameterBuilder for the specified section.
- integer() - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Returns a builder for accessing integer parameters with validation.
- integer() - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns a builder for accessing integer parameters with validation.
- IntegerParameterAccessor - Class in com.siperf.confio.sections.keyvalue
-
Builder class for accessing integer parameters with fluent API and validation.
- IntegerParameterAccessor(KeyValueAbstractSection) - Constructor for class com.siperf.confio.sections.keyvalue.IntegerParameterAccessor
-
Creates a new IntegerParameterBuilder for the specified section.
- isArray() - Method in class com.siperf.confio.sections.json.JsonSection
-
Checks if the JSON content represents an array (starts with '[').
- isChild(SectionId) - Method in class com.siperf.confio.SectionId
-
Checks if the specified section ID is a child of this section ID in the hierarchy.
- isDirectChild(SectionId) - Method in class com.siperf.confio.SectionId
-
Checks if the specified section ID is a direct child of this section ID in the hierarchy.
- isEmpty() - Method in class com.siperf.confio.sections.json.JsonSection
-
Checks if the JSON content is empty (after trimming).
- isEmpty() - Method in class com.siperf.confio.sections.text.TextSection
-
Checks if the text content is empty.
- isFileAccessError() - Method in class com.siperf.confio.exceptions.ConfigurationLoadException
-
Returns true if this exception was caused by file access issues (file not found, permissions, etc.).
- isObject() - Method in class com.siperf.confio.sections.json.JsonSection
-
Checks if the JSON content represents an object (starts with '{').
- isParent(SectionId) - Method in class com.siperf.confio.SectionId
-
Checks if the specified section ID is a parent of this section ID in the hierarchy.
- isRoot() - Method in class com.siperf.confio.SectionId
-
Checks if the specified section ID is a root element.
- isRoot() - Method in class com.siperf.confio.sections.AbstractSection
- isRoot() - Method in class com.siperf.confio.sections.AbstractSectionBuilder
- isRoot() - Method in interface com.siperf.confio.sections.Section
-
Checks if the specified section is a root element.
- isRoot() - Method in interface com.siperf.confio.sections.SectionBuilder
-
Checks if the specified section builder is a root element.
- isSibling(SectionId) - Method in class com.siperf.confio.SectionId
-
Checks if the specified section ID is a sibling of this section ID.
- isValidJson() - Method in class com.siperf.confio.sections.json.JsonSection
-
Performs basic JSON validation by checking if the content starts and ends with braces or brackets.
- isValidKey(String) - Method in class com.siperf.confio.sections.AbstractSectionBuilder
-
Checks if the key is valid for key-value parameters.
- isValue() - Method in class com.siperf.confio.sections.json.JsonSection
-
Checks if the JSON content is a primitive value.
J
- JSON - Enum constant in enum class com.siperf.confio.SectionType
-
JSON section type.
- JsonSection - Class in com.siperf.confio.sections.json
-
Section implementation for JSON type sections.
- JsonSection(String, SectionId) - Constructor for class com.siperf.confio.sections.json.JsonSection
- JsonSection(String, SectionId, SectionType) - Constructor for class com.siperf.confio.sections.json.JsonSection
-
Creates a JsonSection with the specified name and ID.
K
- KEY_VALUE - Enum constant in enum class com.siperf.confio.SectionType
-
Key-value section type (default).
- KeyValueAbstractSection - Class in com.siperf.confio.sections.keyvalue
-
Abstract implementation of KeyValueSection interface.
- KeyValueAbstractSection(String, SectionId, Map<String, String>) - Constructor for class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
- KeyValueAbstractSection.EmptyParameterBehaviour - Enum Class in com.siperf.confio.sections.keyvalue
- KeyValueDefaultSection - Class in com.siperf.confio.sections.keyvalue
-
Default implementation of KeyValueSection.
- KeyValueDefaultSection(String, SectionId, Map<String, String>) - Constructor for class com.siperf.confio.sections.keyvalue.KeyValueDefaultSection
- KeyValueSection - Interface in com.siperf.confio.sections.keyvalue
-
Representation of a key-value configuration section.
- KeyValueSectionBuilder - Class in com.siperf.confio.sections.keyvalue
-
Default implementation of SectionBuilder that provides standard INI-style parsing.
- KeyValueSectionBuilder(String) - Constructor for class com.siperf.confio.sections.keyvalue.KeyValueSectionBuilder
L
- length() - Method in class com.siperf.confio.sections.json.JsonSection
-
Returns the length of the JSON content in characters.
- list(Function<String, T>) - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Returns a builder for accessing list parameters with validation.
- list(Function<String, T>) - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns a builder for accessing list parameters with validation.
- ListParameterAccessor<T> - Class in com.siperf.confio.sections.keyvalue
-
Builder class for accessing list parameters with fluent API and validation.
- ListParameterAccessor(KeyValueAbstractSection, Function<String, T>) - Constructor for class com.siperf.confio.sections.keyvalue.ListParameterAccessor
-
Creates a new ListParameterBuilder for the specified section.
- load(InputStream) - Static method in class com.siperf.confio.ConfigurationFileLoader
-
Loads configuration from InputStream.
- load(InputStream, ConfigurationSource) - Static method in class com.siperf.confio.ConfigurationFileLoader
-
Loads configuration from InputStream with ConfigurationSource.
- load(InputStream, EConfigurationSourceType) - Static method in class com.siperf.confio.ConfigurationFileLoader
-
Loads configuration from InputStream.
- load(String) - Static method in class com.siperf.confio.ConfigurationFileLoader
-
Loads configuration from a file path string with automatic charset detection.
- load(String, Charset) - Static method in class com.siperf.confio.ConfigurationFileLoader
-
Loads configuration from a file path string with the specified charset.
- load(Path) - Static method in class com.siperf.confio.ConfigurationFileLoader
-
Loads configuration from a file with automatic charset detection.
- load(Path, Charset) - Static method in class com.siperf.confio.ConfigurationFileLoader
-
Loads configuration from a file with the specified charset.
- load(Path, Path, Charset) - Static method in class com.siperf.confio.ConfigurationFileLoader
-
Loads configuration from a file with the specified charset.
- loadFromEmbeddedResource(Class<?>, String) - Static method in class com.siperf.confio.ConfigurationFileLoader
-
Loads configuration from an embedded resource relative to the specified class.
- loadFromEmbeddedResource(Class<?>, String, Charset) - Static method in class com.siperf.confio.ConfigurationFileLoader
-
Loads configuration from an embedded resource relative to the specified class with the specified charset.
- loadFromEmbeddedResource(String) - Static method in class com.siperf.confio.ConfigurationFileLoader
-
Loads configuration from an embedded resource.
- loadFromEmbeddedResource(String, Charset) - Static method in class com.siperf.confio.ConfigurationFileLoader
-
Loads configuration from an embedded resource with the specified charset.
- loadFromString(String) - Static method in class com.siperf.confio.ConfigurationFileLoader
-
Loads configuration from a string content.
- loadFromString(String, Charset) - Static method in class com.siperf.confio.ConfigurationFileLoader
-
Loads configuration from a string content with the specified charset.
- LocalDateTimeParameterAccessor - Class in com.siperf.confio.sections.keyvalue
-
Builder class for accessing LocalDateTime parameters with fluent API and validation.
- LocalDateTimeParameterAccessor(KeyValueAbstractSection) - Constructor for class com.siperf.confio.sections.keyvalue.LocalDateTimeParameterAccessor
-
Creates a new LocalDateTimeParameterBuilder for the specified section.
- LongParameterAccessor - Class in com.siperf.confio.sections.keyvalue
-
Builder class for accessing long parameters with fluent API and validation.
- LongParameterAccessor(KeyValueAbstractSection) - Constructor for class com.siperf.confio.sections.keyvalue.LongParameterAccessor
-
Creates a new LongParameterBuilder for the specified section.
- longValue() - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Returns a builder for accessing long parameters with validation.
- longValue() - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns a builder for accessing long parameters with validation.
M
- matches(String) - Method in class com.siperf.confio.sections.text.TextSection
-
Checks if the text content matches the specified regex pattern.
- message - Variable in class com.siperf.confio.exceptions.ConfigurationLoadException
- mustBeDirectory(Boolean) - Method in class com.siperf.confio.sections.keyvalue.PathParameterAccessor
-
Requires that the path must be a directory (not a file).
- mustBeFile(Boolean) - Method in class com.siperf.confio.sections.keyvalue.PathParameterAccessor
-
Requires that the path must be a file (not a directory).
- mustBeReadable(Boolean) - Method in class com.siperf.confio.sections.keyvalue.PathParameterAccessor
-
Requires that the path must be readable.
- mustBeWritable(Boolean) - Method in class com.siperf.confio.sections.keyvalue.PathParameterAccessor
-
Requires that the path must be writable.
- mustExist(Boolean) - Method in class com.siperf.confio.sections.keyvalue.PathParameterAccessor
-
Requires that the path must exist in the file system.
N
- name - Variable in class com.siperf.confio.sections.AbstractSectionBuilder
- notBlank() - Method in class com.siperf.confio.sections.keyvalue.StringParameterAccessor
-
Requires that the string is not blank (not null, not empty, and contains at least one non-whitespace character).
- notEmpty() - Method in class com.siperf.confio.sections.keyvalue.StringParameterAccessor
-
Requires that the string is not empty (not null and length > 0).
P
- parameterEntries() - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
- parameterEntries() - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns an iterable collection of parameter entries for use in for-each loops.
- parameterIterator() - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
- parameterIterator() - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns an iterator over the parameter entries.
- parameters - Variable in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
- parameters - Variable in class com.siperf.confio.sections.keyvalue.KeyValueSectionBuilder
- parent - Variable in class com.siperf.confio.sections.AbstractSectionBuilder
- parentDirectoryName(String) - Method in class com.siperf.confio.ConfigurationSource.Builder
-
Sets the parent directory name.
- parse(BufferedReader) - Method in class com.siperf.confio.ConfigurationParser
-
Parses configuration from BufferedReader.
- parse(BufferedReader, ConfigurationSource) - Method in class com.siperf.confio.ConfigurationParser
-
Parses configuration from BufferedReader with configuration source information.
- path() - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Returns a builder for accessing file path parameters with validation.
- path() - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns a builder for accessing file path parameters with validation.
- PathParameterAccessor - Class in com.siperf.confio.sections.keyvalue
-
Builder class for accessing file path parameters with fluent API and validation.
- PathParameterAccessor(KeyValueAbstractSection) - Constructor for class com.siperf.confio.sections.keyvalue.PathParameterAccessor
-
Creates a new PathParameterBuilder for the specified section.
- processLineAsParameterOrContent(String, String) - Method in class com.siperf.confio.sections.keyvalue.KeyValueSectionBuilder
-
Processes a line as key-value parameter or content.
Q
- Quotes - Class in com.siperf.confio.utils
- Quotes() - Constructor for class com.siperf.confio.utils.Quotes
R
- RAW_CONTENT - Enum constant in enum class com.siperf.confio.EConfigurationSourceType
-
Configuration provided as raw string content.
- rawLines - Variable in class com.siperf.confio.sections.AbstractSectionBuilder
- registerBuilder(String, Class<? extends SectionBuilder>) - Method in class com.siperf.confio.sections.SectionBuilderFactory
-
Registers a custom builder class for a specific section name.
- registerBuilder(String, Function<String, SectionBuilder>) - Method in class com.siperf.confio.sections.SectionBuilderFactory
-
Registers a custom builder factory for a specific section name.
- relativeFilePath(String) - Method in class com.siperf.confio.ConfigurationSource.Builder
-
Sets the relative file path.
- removeQuotes(String) - Static method in class com.siperf.confio.utils.Quotes
- removeQuotes(String, boolean, boolean, boolean, boolean) - Static method in class com.siperf.confio.utils.Quotes
- requireAbsolute() - Method in class com.siperf.confio.sections.keyvalue.UriParameterAccessor
-
Requires that the URI must be absolute (have a scheme).
- requireLoopback(Boolean) - Method in class com.siperf.confio.sections.keyvalue.InetAddressParameterAccessor
-
Requires that the address must be a loopback address.
- requireMulticast(Boolean) - Method in class com.siperf.confio.sections.keyvalue.InetAddressParameterAccessor
-
Requires that the address must be a multicast address.
- requireRelative() - Method in class com.siperf.confio.sections.keyvalue.UriParameterAccessor
-
Requires that the URI must be relative (no scheme).
- RETURN_DEFAULT_VALUE - Enum constant in enum class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection.EmptyParameterBehaviour
- RETURN_NULL - Enum constant in enum class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection.EmptyParameterBehaviour
S
- Section - Interface in com.siperf.confio.sections
-
Representation of a configuration file section.
- SectionBuilder - Interface in com.siperf.confio.sections
-
Builder interface for creating Section instances with custom parsing logic.
- SectionBuilderFactory - Class in com.siperf.confio.sections
-
Factory for creating SectionBuilder instances.
- SectionBuilderFactory() - Constructor for class com.siperf.confio.sections.SectionBuilderFactory
-
Creates a new SectionBuilderFactory with default settings.
- SectionId - Class in com.siperf.confio
-
Represents a hierarchical section identifier with dot notation.
- SectionType - Enum Class in com.siperf.confio
-
Type of section content in configuration file.
- setContentLines(List<String>) - Method in class com.siperf.confio.sections.AbstractSection
-
Sets content lines directly (used by builder).
- setDefaultBuilderClass(Class<? extends SectionBuilder>) - Method in class com.siperf.confio.sections.SectionBuilderFactory
-
Sets the default builder class to use when no specific builder is registered.
- setDefaultBuilderFactory(Function<String, SectionBuilder>) - Method in class com.siperf.confio.sections.SectionBuilderFactory
-
Sets the default builder factory to use when no specific builder is registered.
- setException(Throwable) - Method in class com.siperf.confio.exceptions.ConfigurationLoadException
- setFile(File) - Method in class com.siperf.confio.exceptions.ConfigurationLoadException
-
Parameters
- setFileName(String) - Method in class com.siperf.confio.exceptions.ConfigurationLoadException
- setFilePath(String) - Method in class com.siperf.confio.exceptions.ConfigurationLoadException
- setInheritanceType(ESectionInheritanceType) - Method in class com.siperf.confio.ConfigurationParser
-
Sets the inheritance type to use for building section hierarchy.
- setParent(SectionBuilder) - Method in class com.siperf.confio.sections.AbstractSectionBuilder
- setParent(SectionBuilder) - Method in interface com.siperf.confio.sections.SectionBuilder
-
Sets the parent section builder.
- setRawLines(List<String>) - Method in class com.siperf.confio.sections.AbstractSection
-
Sets raw lines directly (used by builder).
- setSectionBuilderFactory(SectionBuilderFactory) - Method in class com.siperf.confio.ConfigurationParser
-
Sets the SectionBuilderFactory to use for creating section builders.
- split(String) - Method in class com.siperf.confio.sections.json.JsonSection
-
Splits the JSON content by a delimiter (useful for simple arrays).
- split(String) - Method in class com.siperf.confio.sections.text.TextSection
-
Splits the text content by the specified delimiter.
- STRICT_SEQUENTIAL - Enum constant in enum class com.siperf.confio.ESectionInheritanceType
-
Strict Sequential Inheritance
- string() - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Returns a builder for accessing string parameters with validation.
- string() - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns a builder for accessing string parameters with validation.
- StringParameterAccessor - Class in com.siperf.confio.sections.keyvalue
-
Builder class for accessing string parameters with fluent API and validation.
- StringParameterAccessor(KeyValueAbstractSection) - Constructor for class com.siperf.confio.sections.keyvalue.StringParameterAccessor
-
Creates a new StringParameterBuilder for the specified section.
- subsections - Variable in class com.siperf.confio.sections.AbstractSectionBuilder
- subsectionsById - Variable in class com.siperf.confio.sections.AbstractSectionBuilder
- subsectionsByName - Variable in class com.siperf.confio.sections.AbstractSectionBuilder
- substring(int, int) - Method in class com.siperf.confio.sections.json.JsonSection
-
Extracts a substring from the JSON content.
- substring(int, int) - Method in class com.siperf.confio.sections.text.TextSection
-
Extracts a substring from the text content.
T
- TEXT - Enum constant in enum class com.siperf.confio.SectionType
-
Text section type.
- TextSection - Class in com.siperf.confio.sections.text
-
Section implementation for text type sections.
- TextSection(String, SectionId) - Constructor for class com.siperf.confio.sections.text.TextSection
- TextSection(String, SectionId, SectionType) - Constructor for class com.siperf.confio.sections.text.TextSection
-
Creates a TextSection with the specified name and ID.
- THROW_EXCEPTION - Enum constant in enum class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection.EmptyParameterBehaviour
- toString() - Method in class com.siperf.confio.SectionId
-
Returns the string representation of this section ID.
- toString() - Method in class com.siperf.confio.sections.AbstractSectionBuilder
- trim() - Method in class com.siperf.confio.sections.keyvalue.StringParameterAccessor
-
Trims whitespace from the beginning and end of the string value.
- type(EConfigurationSourceType) - Method in class com.siperf.confio.ConfigurationSource.Builder
-
Sets the configuration source type.
U
- unregisterBuilder(String) - Method in class com.siperf.confio.sections.SectionBuilderFactory
-
Unregisters a custom builder for a specific section name.
- UppercaseSectionBuilder - Class in com.siperf.confio.sections.keyvalue.exampl
-
Example custom SectionBuilder that treats all content as uppercase.
- UppercaseSectionBuilder(String) - Constructor for class com.siperf.confio.sections.keyvalue.exampl.UppercaseSectionBuilder
- uri() - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Returns a builder for accessing URI parameters with validation.
- uri() - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns a builder for accessing URI parameters with validation.
- UriParameterAccessor - Class in com.siperf.confio.sections.keyvalue
-
Builder class for accessing URI parameters with fluent API and validation.
- UriParameterAccessor(KeyValueAbstractSection) - Constructor for class com.siperf.confio.sections.keyvalue.UriParameterAccessor
-
Creates a new UriParameterBuilder for the specified section.
- uuid() - Method in class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection
-
Returns a builder for accessing UUID parameters with validation.
- uuid() - Method in interface com.siperf.confio.sections.keyvalue.KeyValueSection
-
Returns a builder for accessing UUID parameters with validation.
- UuidParameterAccessor - Class in com.siperf.confio.sections.keyvalue
-
Builder class for accessing UUID parameters with fluent API and validation.
- UuidParameterAccessor(KeyValueAbstractSection) - Constructor for class com.siperf.confio.sections.keyvalue.UuidParameterAccessor
-
Creates a new UuidParameterBuilder for the specified section.
V
- valueOf(String) - Static method in enum class com.siperf.confio.EConfigurationSourceType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.siperf.confio.ESectionInheritanceType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection.EmptyParameterBehaviour
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.siperf.confio.SectionType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.siperf.confio.EConfigurationSourceType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.siperf.confio.ESectionInheritanceType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.siperf.confio.sections.keyvalue.KeyValueAbstractSection.EmptyParameterBehaviour
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.siperf.confio.SectionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withAllowedValues(String...) - Method in class com.siperf.confio.sections.keyvalue.StringParameterAccessor
-
Sets the allowed values for the string parameter.
- withFormatter(DateTimeFormatter) - Method in class com.siperf.confio.sections.keyvalue.DateParameterAccessor
-
Sets the date formatter to use for parsing.
- withFormatter(DateTimeFormatter) - Method in class com.siperf.confio.sections.keyvalue.LocalDateTimeParameterAccessor
-
Sets the date-time formatter to use for parsing.
- withLengthRange(int, int) - Method in class com.siperf.confio.sections.keyvalue.StringParameterAccessor
-
Sets the allowed length range for the string value (inclusive).
- withMax(double) - Method in class com.siperf.confio.sections.keyvalue.DoubleParameterAccessor
-
Sets the maximum allowed value (inclusive).
- withMax(int) - Method in class com.siperf.confio.sections.keyvalue.IntegerParameterAccessor
-
Sets the maximum allowed value (inclusive).
- withMax(long) - Method in class com.siperf.confio.sections.keyvalue.LongParameterAccessor
-
Sets the maximum allowed value (inclusive).
- withMax(Duration) - Method in class com.siperf.confio.sections.keyvalue.DurationParameterAccessor
-
Sets the maximum allowed duration (inclusive).
- withMax(LocalDate) - Method in class com.siperf.confio.sections.keyvalue.DateParameterAccessor
-
Sets the maximum allowed date (inclusive).
- withMax(LocalDateTime) - Method in class com.siperf.confio.sections.keyvalue.LocalDateTimeParameterAccessor
-
Sets the maximum allowed date-time (inclusive).
- withMaxLength(int) - Method in class com.siperf.confio.sections.keyvalue.StringParameterAccessor
-
Sets the maximum length for the string value (inclusive).
- withMaxSize(int) - Method in class com.siperf.confio.sections.keyvalue.ListParameterAccessor
-
Sets the maximum size for the list (inclusive).
- withMin(double) - Method in class com.siperf.confio.sections.keyvalue.DoubleParameterAccessor
-
Sets the minimum allowed value (inclusive).
- withMin(int) - Method in class com.siperf.confio.sections.keyvalue.IntegerParameterAccessor
-
Sets the minimum allowed value (inclusive).
- withMin(long) - Method in class com.siperf.confio.sections.keyvalue.LongParameterAccessor
-
Sets the minimum allowed value (inclusive).
- withMin(Duration) - Method in class com.siperf.confio.sections.keyvalue.DurationParameterAccessor
-
Sets the minimum allowed duration (inclusive).
- withMin(LocalDate) - Method in class com.siperf.confio.sections.keyvalue.DateParameterAccessor
-
Sets the minimum allowed date (inclusive).
- withMin(LocalDateTime) - Method in class com.siperf.confio.sections.keyvalue.LocalDateTimeParameterAccessor
-
Sets the minimum allowed date-time (inclusive).
- withMinLength(int) - Method in class com.siperf.confio.sections.keyvalue.StringParameterAccessor
-
Sets the minimum length for the string value (inclusive).
- withMinSize(int) - Method in class com.siperf.confio.sections.keyvalue.ListParameterAccessor
-
Sets the minimum size for the list (inclusive).
- withName(String) - Method in class com.siperf.confio.sections.keyvalue.BooleanParameterAccessor
-
Sets the parameter name for error messages.
- withName(String) - Method in class com.siperf.confio.sections.keyvalue.DateParameterAccessor
-
Sets the parameter name for error messages.
- withName(String) - Method in class com.siperf.confio.sections.keyvalue.DoubleParameterAccessor
-
Sets the parameter name for error messages.
- withName(String) - Method in class com.siperf.confio.sections.keyvalue.DurationParameterAccessor
-
Sets the parameter name for error messages.
- withName(String) - Method in class com.siperf.confio.sections.keyvalue.EnumParameterAccessor
-
Sets the parameter name for error messages.
- withName(String) - Method in class com.siperf.confio.sections.keyvalue.InetAddressParameterAccessor
-
Sets the parameter name for error messages.
- withName(String) - Method in class com.siperf.confio.sections.keyvalue.IntegerParameterAccessor
-
Sets the parameter name for error messages.
- withName(String) - Method in class com.siperf.confio.sections.keyvalue.ListParameterAccessor
-
Sets the parameter name for error messages.
- withName(String) - Method in class com.siperf.confio.sections.keyvalue.LocalDateTimeParameterAccessor
-
Sets the parameter name for error messages.
- withName(String) - Method in class com.siperf.confio.sections.keyvalue.LongParameterAccessor
-
Sets the parameter name for error messages.
- withName(String) - Method in class com.siperf.confio.sections.keyvalue.PathParameterAccessor
-
Sets the parameter name for error messages.
- withName(String) - Method in class com.siperf.confio.sections.keyvalue.StringParameterAccessor
-
Sets the parameter name for error messages.
- withName(String) - Method in class com.siperf.confio.sections.keyvalue.UriParameterAccessor
-
Sets the parameter name for error messages.
- withName(String) - Method in class com.siperf.confio.sections.keyvalue.UuidParameterAccessor
-
Sets the parameter name for error messages.
- withPattern(String) - Method in class com.siperf.confio.sections.keyvalue.StringParameterAccessor
-
Sets a regular expression pattern that the string must match.
- withRange(double, double) - Method in class com.siperf.confio.sections.keyvalue.DoubleParameterAccessor
-
Sets the allowed range for the double value (inclusive).
- withRange(int, int) - Method in class com.siperf.confio.sections.keyvalue.IntegerParameterAccessor
-
Sets the allowed range for the integer value (inclusive).
- withRange(long, long) - Method in class com.siperf.confio.sections.keyvalue.LongParameterAccessor
-
Sets the allowed range for the long value (inclusive).
- withRange(Duration, Duration) - Method in class com.siperf.confio.sections.keyvalue.DurationParameterAccessor
-
Sets the allowed duration range (inclusive).
- withRange(LocalDate, LocalDate) - Method in class com.siperf.confio.sections.keyvalue.DateParameterAccessor
-
Sets the allowed date range (inclusive).
- withRange(LocalDateTime, LocalDateTime) - Method in class com.siperf.confio.sections.keyvalue.LocalDateTimeParameterAccessor
-
Sets the allowed date-time range (inclusive).
- withScheme(String) - Method in class com.siperf.confio.sections.keyvalue.UriParameterAccessor
-
Sets the required URI scheme (e.g., "http", "https", "file").
- withSeparator(String) - Method in class com.siperf.confio.sections.keyvalue.ListParameterAccessor
-
Sets the separator used to split the parameter value into list elements.
- withSizeRange(int, int) - Method in class com.siperf.confio.sections.keyvalue.ListParameterAccessor
-
Sets the allowed size range for the list (inclusive).
- withVersion(Integer) - Method in class com.siperf.confio.sections.keyvalue.InetAddressParameterAccessor
-
Sets the required IP version.
All Classes and Interfaces|All Packages|Serialized Form