Class LanguageCode

java.lang.Object
org.pentaho.reporting.libraries.fonts.LanguageCode
Direct Known Subclasses:
LanguageCode.MacLanguageCode, LanguageCode.MicrosoftLanguageCode

public class LanguageCode extends Object
Different language codes are defined for the mac and windows platform. The numbering schema is disjunct, so there are no conflicts between the codes assigned on the Windows platform and the codes assigned on the Macintosh platform.
Author:
Thomas Morgner
  • Constructor Details

    • LanguageCode

      public LanguageCode(String name, int code)
  • Method Details

    • getCode

      public int getCode()
    • getName

      public String getName()
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object