org.pentaho.reporting.libraries.fonts
Class LanguageCode

java.lang.Object
  extended by 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
static class LanguageCode.MacLanguageCode
           
static class LanguageCode.MicrosoftLanguageCode
           
 
Constructor Summary
LanguageCode(java.lang.String name, int code)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getCode()
           
 java.lang.String getName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LanguageCode

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

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