net.logAnalyzer.resources
Class LAResourceBundle

java.lang.Object
  extended bynet.logAnalyzer.resources.LAResourceBundle

public class LAResourceBundle
extends java.lang.Object

Used to retreive a Localized string in a resource propertie file.

Author:
GKDZ7572

Method Summary
static javax.swing.ImageIcon getIcon(java.lang.String name)
           
static javax.swing.ImageIcon getIcon(java.lang.String name, java.lang.String param)
           
static javax.swing.ImageIcon getIcon(java.lang.String name, java.util.Vector params)
           
static java.lang.String getLocalizedString(java.lang.String name)
          Gets a Localized string in the resource.
static java.lang.String getLocalizedString(java.lang.String name, java.lang.String param)
          Gets a Localized string in the resource.
static java.lang.String getLocalizedString(java.lang.String name, java.util.Vector params)
          Gets a Localized string in the resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIcon

public static javax.swing.ImageIcon getIcon(java.lang.String name)

getIcon

public static javax.swing.ImageIcon getIcon(java.lang.String name,
                                            java.lang.String param)

getIcon

public static javax.swing.ImageIcon getIcon(java.lang.String name,
                                            java.util.Vector params)

getLocalizedString

public static java.lang.String getLocalizedString(java.lang.String name)
Gets a Localized string in the resource. If another ressource name is presents between two "$$", then it is replaced by its own value.

Parameters:
name - Name of the property
Returns:
Localized value

getLocalizedString

public static java.lang.String getLocalizedString(java.lang.String name,
                                                  java.lang.String param)
Gets a Localized string in the resource.

Parameters:
name - Name of the property
param - String value to replace in the Localized string
Returns:
Localized value

getLocalizedString

public static java.lang.String getLocalizedString(java.lang.String name,
                                                  java.util.Vector params)
Gets a Localized string in the resource.

Parameters:
name - Name of the property
params - Vector of values to replace in the Localized string
Returns:
Localized value


Copyright © 2006 null. All Rights Reserved.