ResourceManager.getShort

Overview | Methods | Fields | This Package | All Packages

ResourceManager.getShort

Retrieves a short value for the specified property.

Syntax

public short getShort( String name )

public short getShort( Locale locale, String name )

Parameters

name

The name of the property.

locale

A Locale object that represents the locale to check. If no value is specified for this parameter, the current locale is used.

Return Value

Returns the property value expressed as a short value.

Remarks

If the resource set for the given locale does not contain the specified property, the parent chain is searched. If the property is contained within a parent resource set, then its value is returned; otherwise, 0 is returned.