org.jfree.fonts

Class LanguageCode

Known Direct 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(String name, int code)

Method Summary

boolean
equals(Object o)
int
getCode()
String
getName()
int
hashCode()

Constructor Details

LanguageCode

public LanguageCode(String name,
                    int code)

Method Details

equals

public boolean equals(Object o)

getCode

public int getCode()

getName

public String getName()

hashCode

public int hashCode()