Java org.apache.shiro.config Ini fields, constructors, methods, implement or subclass

Example usage for Java org.apache.shiro.config Ini fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.shiro.config Ini.

The text is from its open source code.

Field

Constructor

Ini()
Creates a new empty Ini instance.

Method

SectionaddSection(String sectionName)
Ensures a section with the specified name exists, adding a new one if it does not yet exist.
booleancontainsKey(Object key)
InifromResourcePath(String resourcePath)
Creates a new Ini instance loaded with the INI-formatted data in the resource at the given path.
Sectionget(Object key)
SectiongetSection(String sectionName)
Returns the Section with the given name or null if no section with that name exists.
SetgetSectionNames()
Returns the names of all sections managed by this Ini instance or an empty collection if there are no sections.
Collection
getSections()
Returns the sections managed by this Ini instance or an empty collection if there are no sections.
booleanisEmpty()
Returns true if no sections have been configured, or if there are sections, but the sections themselves are all empty, false otherwise.
voidload(String iniConfig)
Loads the specified raw INI-formatted text into this instance.
voidload(InputStream is)
Loads the INI-formatted text backed by the given InputStream into this instance.
voidload(Reader reader)
Loads the INI-formatted text backed by the given Reader into this instance.
voidload(Scanner scanner)
Loads the INI-formatted text backed by the given Scanner.
voidloadFromPath(String resourcePath)
Loads data from the specified resource path into this current Ini instance.
voidsetSectionProperty(String sectionName, String propertyName, String propertyValue)
Sets a name/value pair for the section with the given sectionName .