libperun

Class std.rt.Locale

Synopsis

public static class Locale

Handles locale-specific information.

Fields

Constructors

Methods

public static String get(String group,String key,String def);

Read the specified locale key from the specified group. If no such key exists in the group, or if the group itself does not exist, returns the third argument.

Arguments
groupThe locale information group to read from.
keyThe key to read from the group.
defThe default to return if the information is not available.