org.jfree.fonts
Class LanguageCode
java.lang.Object
org.jfree.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
Constructor Summary |
LanguageCode(java.lang.String name,
int code)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
LanguageCode
public LanguageCode(java.lang.String name,
int code)
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