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 ClassesModifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
Constructors -
Method Summary
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 classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-