public class RegexMapUtil
extends java.lang.Object
RegexMap's
. For example, loading and
saving to file.Constructor and Description |
---|
RegexMapUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> RegexMap<T> |
loadFromPropertiesFile(java.lang.String filePathName,
java.lang.Class<T> tClass,
boolean caseSensitive)
Creates a new
RegexMap with the
contents of the property file at the given path |
public static <T> RegexMap<T> loadFromPropertiesFile(java.lang.String filePathName, java.lang.Class<T> tClass, boolean caseSensitive) throws java.io.IOException
RegexMap
with the
contents of the property file at the given pathfilePathName
- the full path and name of the properties filetClass
- the type of the value object if the map's entries (i.e.
String.class or Integer.class)java.io.IOException