public class OwString1 extends OwString
Utility class OwString1. Extends OwString with additional placeholder 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 |
---|
OwString1(String strKeyyName_p,
String strDefaultDisplayName_p)
construct a string that can be localized later using getString1(Locale locale_p,String strAttribute1_p)
|
OwString1(String strKeyyName_p,
String strDefaultDisplayName_p,
String strAttribute1_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
|
String |
getString1(Locale locale_p,
String strAttribute1_p)
localize this String
|
getKey, hasLabel, localize, localize1, localize2, localize3, localizeLabel, localizeLabel, putAll, putLabel, replaceAll, replaceAll, replaceAll, toString
public OwString1(String strKeyyName_p, String strDefaultDisplayName_p, String strAttribute1_p)
strKeyyName_p
- String unique localize key for display namestrDefaultDisplayName_p
- String default display namestrAttribute1_p
- String that replaces %1 tokenspublic OwString1(String strKeyyName_p, String strDefaultDisplayName_p)
strKeyyName_p
- String unique localize key for display namestrDefaultDisplayName_p
- String default display namepublic String getDefaultDisplayName()
getDefaultDisplayName
in class OwString
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.