Class LanguageCode

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

public class LanguageCode extends java.lang.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
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    LanguageCode(java.lang.String name, int code)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(java.lang.Object o)
     
    int
     
    java.lang.String
     
    int
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LanguageCode

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

    • getCode

      public int getCode()
    • getName

      public java.lang.String getName()
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object