public class OwStringProperties extends Object
Class for the string text mapped by key.
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
Modifier and Type | Method and Description |
---|---|
static OwStringProperties |
getInstance()
Get instance
|
Hashtable |
getProperties(Locale local_p)
get the properties map with locale strings from cash
|
static void |
initialize(OwXMLUtil bootConfig)
initialize custom localization files
|
void |
putAll(Locale locale_p,
Map properties_p)
Adds the given key mapped localization properties to the current text mappings.
|
void |
putLabel(Locale local_p,
String key_p,
String label_p)
Adds the given key mapped label to the current text mappings.
|
public Hashtable getProperties(Locale local_p) throws OwDebugModeException
local_p
- LocaleOwDebugModeException
public static void initialize(OwXMLUtil bootConfig)
bootConfig
- public static OwStringProperties getInstance()
public void putAll(Locale locale_p, Map properties_p) throws OwDebugModeException
locale_p
- properties_p
- OwDebugModeException
public void putLabel(Locale local_p, String key_p, String label_p) throws OwDebugModeException
OwString.LABEL_PREFIX
is added to the given key.local_p
- key_p
- label_p
- OwDebugModeException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.