Package com.sun.corba.se.impl.encoding
Class OSFCodeSetRegistry.Entry
java.lang.Object
com.sun.corba.se.impl.encoding.OSFCodeSetRegistry.Entry
- Enclosing class:
- OSFCodeSetRegistry
An entry in the OSF registry which allows users
to find out the equivalent Java character encoding
name as well as some other facts from the registry.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanFirst checks reference equality since it's expected people will use the pre-defined constant Entries.intgetName()Returns the Java equivalent name.intGet the OSF registry number for this code set.inthashCode()Uses the registry number as the hash code.booleanIs this a fixed or variable width code set?
-
Method Details
-
getName
Returns the Java equivalent name. If the encoding has an optional byte order marker, this name will map to the Java encoding that includes the marker. -
getNumber
public int getNumber()Get the OSF registry number for this code set. -
isFixedWidth
public boolean isFixedWidth()Is this a fixed or variable width code set? (In CORBA terms, "non-byte-oriented" or a "byte-oriented" code set, respectively) -
getMaxBytesPerChar
public int getMaxBytesPerChar() -
equals
First checks reference equality since it's expected people will use the pre-defined constant Entries. -
hashCode
public int hashCode()Uses the registry number as the hash code.
-