Style Intelligence v12.0

inetsoft.report
Class UserCatalog

java.lang.Object
  extended by inetsoft.report.UserCatalog

public class UserCatalog
extends Object

UserCatalog is used to handle localization of string values in a report.


Constructor Summary
UserCatalog()
          Constructor.
UserCatalog(Locale locale)
          Creates a new instance of UserCatalog.
UserCatalog(Principal principal)
          Constructor.
 
Method Summary
 inetsoft.util.Catalog getCatalog()
          Get the user locale
 Locale getLocale()
          Get the user locale
 void localize(ReportElement elem)
          Localize an element.
 void localize(ReportSheet report)
          Localize a report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserCatalog

public UserCatalog()
Constructor.


UserCatalog

public UserCatalog(Principal principal)
Constructor.

Parameters:
principal - the specified uer.

UserCatalog

public UserCatalog(Locale locale)
Creates a new instance of UserCatalog.

Parameters:
locale - the locale for the catalog.
Method Detail

localize

public void localize(ReportSheet report)
Localize a report. It traverse through all elements in the report and applies localization based on TextID definitions.


localize

public void localize(ReportElement elem)
Localize an element. The localization is based on the mapping from TextID to text, defined in resource bundle. TextID of the element is defined in designer.


getLocale

public Locale getLocale()
Get the user locale


getCatalog

public inetsoft.util.Catalog getCatalog()
Get the user locale


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.