Errai 3.0.1-SNAPSHOT

org.jboss.errai.ioc.util
Class PropertiesUtil

java.lang.Object
  extended by org.jboss.errai.ioc.util.PropertiesUtil

public class PropertiesUtil
extends Object

A utility class for tasks regarding the properties defined in ErraiApp.properties .

Author:
mbarkley

Constructor Summary
PropertiesUtil()
           
 
Method Summary
static Collection<String> getPropertyValues(String propertyName, String split)
          Get the values in ErraiApp.properties for the given property name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesUtil

public PropertiesUtil()
Method Detail

getPropertyValues

public static Collection<String> getPropertyValues(String propertyName,
                                                   String split)
Get the values in ErraiApp.properties for the given property name.

Parameters:
propertyName - The name of the property for which to get values.
split - The regex used to split lists in individual ErraiApp.properties files (or null).
Returns:
A collection of values for the property name.

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.