public class LabelRef extends Object implements Comparable<LabelRef>, LabelReference, Serializable
| Constructor and Description |
|---|
LabelRef(String section,
String key)
Construct a Labelref for the given section and key
|
LabelRef(String section,
String key,
Object... args)
Construct a Labelref for the given section, key, and optional arguments
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(LabelRef o) |
boolean |
equals(Object obj) |
Object[] |
getArguments() |
static LabelRef |
getInstance(String dotted) |
String |
getKey() |
String |
getSection() |
int |
hashCode() |
String |
toString() |
public LabelRef(String section, String key, Object... args)
section - the section for the labelkey - the key for the labelargs - optional arguments that should be used in message format replacementpublic String getSection()
getSection in interface LabelReferencepublic String getKey()
getKey in interface LabelReferencepublic Object[] getArguments()
getArguments in interface LabelReferencepublic int compareTo(LabelRef o)
compareTo in interface Comparable<LabelRef>Copyright (c) 2016-2017, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE.txt file in the repository.