public class OwString3 extends OwString
Utility class OwString2. Extends OwString with additional place holder attributes.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
LABEL_PREFIX, m_strDefaultDisplayName, m_strKeyName
Constructor and Description |
---|
OwString3(String strKeyyName_p,
String strDefaultDisplayName_p,
String strAttribute1_p,
String strAttribute2_p,
String strAttribute3_p)
construct a string that can be localized later using getString(Locale locale_p)
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultDisplayName()
get the default displayname
|
String |
getString(Locale locale_p)
localize this String
|
getKey, hasLabel, localize, localize1, localize2, localize3, localizeLabel, localizeLabel, putAll, putLabel, replaceAll, replaceAll, replaceAll, toString
public OwString3(String strKeyyName_p, String strDefaultDisplayName_p, String strAttribute1_p, String strAttribute2_p, String strAttribute3_p)
strKeyyName_p
- String unique localize key for display namestrDefaultDisplayName_p
- String default display namestrAttribute1_p
- String that replaces %1 tokensstrAttribute2_p
- String that replaces %2 tokensstrAttribute3_p
- String that replaces %3 tokenspublic String getDefaultDisplayName()
getDefaultDisplayName
in class OwString
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.