Example usage for org.apache.shiro.config Ini isEmpty

List of usage examples for org.apache.shiro.config Ini isEmpty

Introduction

In this page you can find the example usage for org.apache.shiro.config Ini isEmpty.

Prototype

public boolean isEmpty() 

Source Link

Document

Returns true if no sections have been configured, or if there are sections, but the sections themselves are all empty, false otherwise.

Usage

From source file:org.apache.activemq.shiro.env.IniEnvironment.java

License:Apache License

protected void apply(Ini ini) {
    if (ini != null && !ini.isEmpty()) {
        Map<String, ?> objects = createObjects(ini);
        this.ini = ini;
        this.objects.clear();
        this.objects.putAll(objects);
    }//w  ww .  j  a va  2 s.  co  m
}