Package org.apache.ofbiz.entity.util
Class EntityUtilProperties
java.lang.Object
org.apache.ofbiz.entity.util.EntityUtilProperties
- All Implemented Interfaces:
Serializable
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
createResourceName
(String resource, Locale locale, boolean removeExtension) getCandidateLocales
(Locale locale) Deprecated.static Locale
Deprecated.static String
getMessage
(String resource, String name, Object[] arguments, Locale locale) static <E> String
getMessage
(String resource, String name, List<E> arguments, Locale locale) static String
getMessage
(String resource, String name, Locale locale, Delegator delegator) static String
static String
getMessageList
(String resource, String name, Locale locale, Object... arguments) static String
getMessageMap
(String resource, String name, Locale locale, Object... context) static Properties
getProperties
(String resource) static Properties
getProperties
(String resource, Locale locale) static Properties
getProperties
(URL url) static Properties
getProperties
(Delegator delegator, String resourceName) static BigDecimal
getPropertyAsBigDecimal
(String resource, String name, BigDecimal defaultNumber) static BigInteger
getPropertyAsBigInteger
(String resource, String name, BigInteger defaultNumber) static Boolean
getPropertyAsBoolean
(String resource, String name, boolean defaultValue) static Double
getPropertyAsDouble
(String resource, String name, double defaultNumber) static Float
getPropertyAsFloat
(String resource, String name, float defaultNumber) static Integer
getPropertyAsInteger
(String resource, String name, int defaultNumber) static Long
getPropertyAsLong
(String resource, String name, long defaultNumber) static double
getPropertyNumber
(String resource, String name) static double
getPropertyNumber
(String resource, String name, double defaultValue) static double
getPropertyNumber
(URL url, String name) static double
getPropertyNumber
(URL url, String name, double defaultValue) static String
getPropertyValue
(String resource, String name, String defaultValue, Delegator delegator) static String
getPropertyValue
(String resource, String name, Delegator delegator) static String
getPropertyValue
(URL url, String name) static String
getPropertyValue
(URL url, String name, String defaultValue) static String
getPropertyValueFromDelegatorName
(String resource, String name, String delegatorName) static String
getPropertyValueFromDelegatorName
(String resource, String name, String defaultValue, String delegatorName) static ResourceBundle
getResourceBundle
(String resource, Locale locale) static ResourceBundleMapWrapper
getResourceBundleMap
(String resource, Locale locale) static ResourceBundleMapWrapper
static String
getSplitPropertyValue
(URL url, String name) static boolean
isPropertiesResourceNotFound
(String resource, Locale locale, boolean removeExtension) localeToCandidateList
(Locale locale) static boolean
propertyValueEquals
(String resource, String name, String compareString) static boolean
propertyValueEquals
(URL url, String name, String compareString) static boolean
propertyValueEqualsIgnoreCase
(String resource, String name, String compareString, Delegator delegator) static boolean
propertyValueEqualsIgnoreCase
(URL url, String name, String compareString) static URL
resolvePropertiesUrl
(String resource, Locale locale) static String
setPropertyValue
(Delegator delegator, String resourceName, String name, String value) static void
setPropertyValueInMemory
(String resource, String name, String value) static Properties
xmlToProperties
(InputStream in, Locale locale, Properties properties)
-
Method Details
-
propertyValueEquals
-
propertyValueEqualsIgnoreCase
-
getPropertyValue
-
getPropertyValueFromDelegatorName
-
getPropertyNumber
-
getPropertyNumber
-
getPropertyAsBoolean
-
getPropertyAsInteger
-
getPropertyAsLong
-
getPropertyAsFloat
-
getPropertyAsDouble
-
getPropertyAsBigInteger
public static BigInteger getPropertyAsBigInteger(String resource, String name, BigInteger defaultNumber) -
getPropertyAsBigDecimal
public static BigDecimal getPropertyAsBigDecimal(String resource, String name, BigDecimal defaultNumber) -
getPropertyValue
-
getPropertyValueFromDelegatorName
-
getProperties
-
getProperties
-
getProperties
-
propertyValueEquals
-
propertyValueEqualsIgnoreCase
-
getPropertyValue
-
getPropertyNumber
-
getPropertyNumber
-
getPropertyValue
-
getSplitPropertyValue
-
setPropertyValueInMemory
-
setPropertyValue
-
getMessage
-
getMessage
-
getMessage
-
getMessageList
-
getMessage
-
getMessageMap
-
getResourceBundle
-
getResourceBundleMap
-
getResourceBundleMap
-
getProperties
-
getFallbackLocale
Deprecated. -
localeToCandidateList
-
getDefaultCandidateLocales
-
getCandidateLocales
Deprecated. -
createResourceName
-
isPropertiesResourceNotFound
-
resolvePropertiesUrl
-
xmlToProperties
public static Properties xmlToProperties(InputStream in, Locale locale, Properties properties) throws IOException, InvalidPropertiesFormatException
-