com.wewebu.ow.server.util
Class OwString3
java.lang.Object
com.wewebu.ow.server.util.OwString
com.wewebu.ow.server.util.OwString3
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
Constructor Summary |
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) |
Methods inherited from class com.wewebu.ow.server.util.OwString |
getKey, hasLabel, localize, localize1, localize2, localize3, localizeLabel, localizeLabel, putAll, putLabel, replaceAll, replaceAll, replaceAll, toString |
OwString3
public 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)
- Parameters:
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 tokens
getDefaultDisplayName
public String getDefaultDisplayName()
- get the default displayname
- Overrides:
getDefaultDisplayName
in class OwString
getString
public String getString(Locale locale_p)
- localize this String
- Overrides:
getString
in class OwString
- Parameters:
locale_p
- Locale to use
- Returns:
- localized String
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.