public final class PropertiesUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
readResource(InputStream stream) |
static Object |
retrieveProperty(Property prop,
PropertyScheme defaultScheme,
RouteContext context)
Resolves the specified name as an unqualified property
|
static Object |
retrieveProperty(Property prop,
RouteContext context)
Resolves the specified name as a qualified property
|
static Object |
retrieveProperty(String name,
PropertyScheme defaultScheme,
RouteContext context)
Resolves the specified name as an unqualified property
|
static Object |
retrieveProperty(String name,
RouteContext context)
Resolves the specified name as a qualified property
|
public static String readResource(InputStream stream) throws IOException
IOException
public static Object retrieveProperty(String name, RouteContext context)
name
- the qualified property namepublic static Object retrieveProperty(String name, PropertyScheme defaultScheme, RouteContext context)
name
- the potentially unqualified property namedefaultScheme
- the default scheme to use if the property is unqualifiedpublic static Object retrieveProperty(Property prop, PropertyScheme defaultScheme, RouteContext context)
prop
- the potentially unqualified propertydefaultScheme
- the default scheme to use if the property is unqualifiedpublic static Object retrieveProperty(Property prop, RouteContext context)
prop
- the qualified propertyCopyright © 2005–2016 The Kuali Foundation. All rights reserved.