Top Description Fields Constructors Methods
com.ibm.icu.impl

public Class ICUConfig

extends Object
Class Inheritance
Imports
java.io.IOException, .InputStream, java.security.AccessControlException, .AccessController, .PrivilegedAction, java.util.MissingResourceException, .Properties

ICUConfig is a class used for accessing ICU4J runtime configuration.

Field Summary

Modifier and TypeField and Description
private static final Properties
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String

Returns:

The configuration property value, or null if it does not exist.
get
(String
The configuration property name
name
)

Get ICU configuration property value for the given name.

public static String

Returns:

The configuration property value. If the property does not exist, def is returned.
get
(String
The configuration property name
name
,
String
The default value
def
)

Get ICU configuration property value for the given name.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CONFIG_PROPSback to summary
private static final Properties CONFIG_PROPS
CONFIG_PROPS_FILEback to summary
public static final String CONFIG_PROPS_FILE

Constructor Detail

ICUConfigback to summary
public ICUConfig()

Method Detail

getback to summary
public static String get(String name)

Get ICU configuration property value for the given name.

Parameters
name:String

The configuration property name

Returns:String

The configuration property value, or null if it does not exist.

getback to summary
public static String get(String name, String def)

Get ICU configuration property value for the given name.

Parameters
name:String

The configuration property name

def:String

The default value

Returns:String

The configuration property value. If the property does not exist, def is returned.