hudson.plugins.translation
Class Msg

java.lang.Object
  extended by hudson.plugins.translation.Msg

public final class Msg
extends Object

Use of a localized resource.

Author:
Kohsuke Kawaguchi

Field Summary
 String key
           
 org.kohsuke.stapler.jelly.ResourceBundle resourceBundle
           
 
Constructor Summary
Msg(org.kohsuke.stapler.jelly.InternationalizedStringExpression exp)
           
Msg(org.kohsuke.stapler.jelly.ResourceBundle resourceBundle, String key)
           
 
Method Summary
 boolean equals(Object o)
           
 String getBaseName()
           
 String getEnglish()
           
 String getLocalizedText()
          Gets the localized messages for the current request locale.
 int hashCode()
           
 boolean isLocalized()
          Is this message already localized for the current request locale?
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourceBundle

public final org.kohsuke.stapler.jelly.ResourceBundle resourceBundle

key

public final String key
Constructor Detail

Msg

public Msg(org.kohsuke.stapler.jelly.InternationalizedStringExpression exp)

Msg

public Msg(org.kohsuke.stapler.jelly.ResourceBundle resourceBundle,
           String key)
Method Detail

getBaseName

public String getBaseName()

getEnglish

public String getEnglish()

getLocalizedText

public String getLocalizedText()
Gets the localized messages for the current request locale.


isLocalized

public boolean isLocalized()
Is this message already localized for the current request locale?


equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2004-2012 Hudson. All Rights Reserved.