Skip navigation links
A B C D G H I L M O P R T 

A

accepts(URL) - Method in interface org.apache.tamaya.format.ConfigurationFormat
Allows the format to examine the given resource, e.g. for a matching file ending.
accepts(URL) - Method in class org.apache.tamaya.format.formats.IniConfigurationFormat
 
accepts(URL) - Method in class org.apache.tamaya.format.formats.PropertiesFormat
 
accepts(URL) - Method in class org.apache.tamaya.format.formats.PropertiesXmlFormat
 
addDefaultProperties(Map<String, String>) - Method in class org.apache.tamaya.format.ConfigurationDataBuilder
Adds the given entries to the default section, all existing values will be overridden.
addDefaultProperty(String, String) - Method in class org.apache.tamaya.format.ConfigurationDataBuilder
Adds a single entry to the default section.
addProperties(Map<String, String>) - Method in class org.apache.tamaya.format.ConfigurationDataBuilder
addProperty(String, String) - Method in class org.apache.tamaya.format.ConfigurationDataBuilder
addSectionProperties(String, Map<String, String>) - Method in class org.apache.tamaya.format.ConfigurationDataBuilder
Adds the given entries to the given section, all existing values will be overridden.
addSectionProperty(String, String, String) - Method in class org.apache.tamaya.format.ConfigurationDataBuilder
Adds a single entry to a target section.
addSections(String...) - Method in class org.apache.tamaya.format.ConfigurationDataBuilder
Adds (empty) sections,if they are not yet existing.

B

BaseFormatPropertySourceProvider - Class in org.apache.tamaya.format
Implementation of a PropertySourceProvider that reads configuration from some given resource paths and using the given formats.
BaseFormatPropertySourceProvider(List<ConfigurationFormat>, URL...) - Constructor for class org.apache.tamaya.format.BaseFormatPropertySourceProvider
Creates a new instance.
BaseFormatPropertySourceProvider(List<ConfigurationFormat>, String...) - Constructor for class org.apache.tamaya.format.BaseFormatPropertySourceProvider
Creates a new instance, hereby using the current thread context classloader, or if not available the classloader that loaded this class.
BaseFormatPropertySourceProvider(List<ConfigurationFormat>, ClassLoader, String...) - Constructor for class org.apache.tamaya.format.BaseFormatPropertySourceProvider
Creates a new instance.
build() - Method in class org.apache.tamaya.format.ConfigurationDataBuilder
Builds a new ConfigurationData instance.

C

close() - Method in class org.apache.tamaya.format.InputStreamFactory
 
ConfigurationData - Class in org.apache.tamaya.format
Data that abstracts the data read from a configuration resources using a certain format.
ConfigurationDataBuilder - Class in org.apache.tamaya.format
Builder for creating ConfigurationData instances.
ConfigurationFormat - Interface in org.apache.tamaya.format
Implementations current this class encapsulate the mechanism how to read a resource including interpreting the format correctly (e.g. xml vs.
ConfigurationFormats - Class in org.apache.tamaya.format
Small accessor and management class dealing with ConfigurationFormat instances.
containsSection(String) - Method in class org.apache.tamaya.format.ConfigurationData
Immutable accessor to ckeck, if there are default properties present.
createInputStream() - Method in class org.apache.tamaya.format.InputStreamFactory
Creates a new InputStream with the same data as provided by the InputStream passed on factory creation.
createPropertySource(URL, ConfigurationFormat...) - Static method in class org.apache.tamaya.format.ConfigurationFormats
Tries to read configuration data from a given URL, hereby explicitly trying all given formats in order and transforms it into a PropertySource using a default mapping.
createPropertySource(URL, Collection<ConfigurationFormat>) - Static method in class org.apache.tamaya.format.ConfigurationFormats
Tries to read configuration data from a given URL, hereby explicitly trying all given formats in order and transforms it into a PropertySource using a default mapping.
createPropertySource(String, InputStream, ConfigurationFormat...) - Static method in class org.apache.tamaya.format.ConfigurationFormats
Tries to read configuration data from a given URL, hereby explicitly trying all given formats in order and transforms it into a PropertySource using a default mapping.
createPropertySource(String, InputStream, Collection<ConfigurationFormat>) - Static method in class org.apache.tamaya.format.ConfigurationFormats
Tries to read configuration data from a given URL, hereby explicitly trying all given formats in order and transforms it into a PropertySource using a default mapping.

D

DEFAULT_SECTION_NAME - Static variable in class org.apache.tamaya.format.ConfigurationData
 

G

get(String) - Method in class org.apache.tamaya.format.MappedConfigurationDataPropertySource
 
getCombinedProperties() - Method in class org.apache.tamaya.format.ConfigurationData
Get combined properties for this config data instance, which contains all properties of all sections in the form Entry<section::property,value>.
getDefaultProperties() - Method in class org.apache.tamaya.format.ConfigurationData
Convenience accessor for accessing the 'default' section.
getFormat() - Method in class org.apache.tamaya.format.ConfigurationData
Get the ConfigurationFormat that read this data.
getFormats() - Static method in class org.apache.tamaya.format.ConfigurationFormats
Get all currently available formats, ordered by priority.
getFormats(String...) - Static method in class org.apache.tamaya.format.ConfigurationFormats
Get all currently available formats, ordered by priority.
getFormats(URL) - Static method in class org.apache.tamaya.format.ConfigurationFormats
Get all currently available formats, ordered by priority.
getName() - Method in interface org.apache.tamaya.format.ConfigurationFormat
Get a unique name of the format.
getName() - Method in class org.apache.tamaya.format.formats.IniConfigurationFormat
 
getName() - Method in class org.apache.tamaya.format.formats.PropertiesFormat
 
getName() - Method in class org.apache.tamaya.format.formats.PropertiesXmlFormat
 
getProperties() - Method in class org.apache.tamaya.format.MappedConfigurationDataPropertySource
 
getPropertySources(ConfigurationData) - Method in class org.apache.tamaya.format.BaseFormatPropertySourceProvider
Method to create a PropertySource based on the given entries read.
getPropertySources() - Method in class org.apache.tamaya.format.BaseFormatPropertySourceProvider
This method does dynamically resolve the paths using the current ClassLoader set.
getResource() - Method in class org.apache.tamaya.format.ConfigurationData
Get the resource from which this data was read.
getSection(String) - Method in class org.apache.tamaya.format.ConfigurationData
Get a section's data.
getSectionNames() - Method in class org.apache.tamaya.format.ConfigurationData
Access an immutable Set of all present section names, including the default section (if any).
getSectionNames() - Method in class org.apache.tamaya.format.ConfigurationDataBuilder
Access the current named sections, if not present a new instance is initialized.

H

hasDefaultProperties() - Method in class org.apache.tamaya.format.ConfigurationData
Immutable accessor to ckeck, if there are default properties present.

I

IniConfigurationFormat - Class in org.apache.tamaya.format.formats
Implements a ini file format.
IniConfigurationFormat() - Constructor for class org.apache.tamaya.format.formats.IniConfigurationFormat
 
InputStreamFactory - Class in org.apache.tamaya.format
Wrapper for a given InputStream to be able to close it via the try-with-resources construct of Java 7.
InputStreamFactory(InputStream) - Constructor for class org.apache.tamaya.format.InputStreamFactory
Creates a new InputStreamFactory.
isEmpty() - Method in class org.apache.tamaya.format.ConfigurationData
Checks if no properties are contained in this data item.

L

load() - Method in class org.apache.tamaya.format.MappedConfigurationDataPropertySource
 

M

MappedConfigurationDataPropertySource - Class in org.apache.tamaya.format
Mapped PropertySource that uses the flattened config data read from an URL by a ConfigurationFormat.
MappedConfigurationDataPropertySource(String, Supplier<ConfigurationData>) - Constructor for class org.apache.tamaya.format.MappedConfigurationDataPropertySource
 
MappedConfigurationDataPropertySource(ConfigurationData) - Constructor for class org.apache.tamaya.format.MappedConfigurationDataPropertySource
 
MappedConfigurationDataPropertySource(int, ConfigurationData) - Constructor for class org.apache.tamaya.format.MappedConfigurationDataPropertySource
 
MappedConfigurationDataPropertySource(String, int, Supplier<ConfigurationData>) - Constructor for class org.apache.tamaya.format.MappedConfigurationDataPropertySource
 

O

of(String, ConfigurationFormat) - Static method in class org.apache.tamaya.format.ConfigurationDataBuilder
Creates a new instance.
of(ConfigurationData) - Static method in class org.apache.tamaya.format.ConfigurationDataBuilder
Creates a new instance.
org.apache.tamaya.format - package org.apache.tamaya.format
This package provides an abstraction for parsing a configuration from an input strem, called ConfigurationFormat and corresponding helper artifacts.
org.apache.tamaya.format.formats - package org.apache.tamaya.format.formats
This package provides implementtion of ConfigurationFormat for properties, xml-properties and ini files.

P

populateData(ConfigurationData) - Method in class org.apache.tamaya.format.MappedConfigurationDataPropertySource
Method that copies and converts the properties read from the data instance provided.
PropertiesFormat - Class in org.apache.tamaya.format.formats
Implementation of a ConfigurationFormat for -properties files.
PropertiesFormat() - Constructor for class org.apache.tamaya.format.formats.PropertiesFormat
 
PropertiesXmlFormat - Class in org.apache.tamaya.format.formats
Implementation of a ConfigurationFormat for xml property files.
PropertiesXmlFormat() - Constructor for class org.apache.tamaya.format.formats.PropertiesXmlFormat
 

R

readConfiguration(String, InputStream) - Method in interface org.apache.tamaya.format.ConfigurationFormat
Reads a configuration from an URL, hereby parsing the given InputStream.
readConfiguration(String, InputStream) - Method in class org.apache.tamaya.format.formats.IniConfigurationFormat
 
readConfiguration(String, InputStream) - Method in class org.apache.tamaya.format.formats.PropertiesFormat
 
readConfiguration(String, InputStream) - Method in class org.apache.tamaya.format.formats.PropertiesXmlFormat
 
readConfigurationData(URL) - Static method in class org.apache.tamaya.format.ConfigurationFormats
Tries to read configuration data from a given URL, hereby traversing all known formats in order of precedence.
readConfigurationData(URL, ConfigurationFormat...) - Static method in class org.apache.tamaya.format.ConfigurationFormats
Tries to read configuration data from a given URL, hereby explicitly trying all given formats in order.
readConfigurationData(URL, Collection<ConfigurationFormat>) - Static method in class org.apache.tamaya.format.ConfigurationFormats
Tries to read configuration data from a given URL, hereby explicitly trying all given formats in order.
readConfigurationData(Collection<URL>, ConfigurationFormat...) - Static method in class org.apache.tamaya.format.ConfigurationFormats
 
readConfigurationData(Collection<URL>, Collection<ConfigurationFormat>) - Static method in class org.apache.tamaya.format.ConfigurationFormats
 
readConfigurationData(String, InputStream, ConfigurationFormat...) - Static method in class org.apache.tamaya.format.ConfigurationFormats
Tries to read configuration data from a given URL, hereby explicitly trying all given formats in order.
readConfigurationData(String, InputStream, Collection<ConfigurationFormat>) - Static method in class org.apache.tamaya.format.ConfigurationFormats
Tries to read configuration data from a given URL, hereby explicitly trying all given formats in order.

T

toString() - Method in class org.apache.tamaya.format.ConfigurationData
 
toString() - Method in class org.apache.tamaya.format.ConfigurationDataBuilder
 
toStringValues() - Method in class org.apache.tamaya.format.MappedConfigurationDataPropertySource
 
A B C D G H I L M O P R T 
Skip navigation links

Copyright © 2016–2017 Apache Software Foundation. All rights reserved.