org.apache.fontbox.cff.encoding
Class CFFEncoding.Entry

java.lang.Object
  extended by org.apache.fontbox.cff.encoding.CFFEncoding.Entry
Enclosing class:
CFFEncoding

public static class CFFEncoding.Entry
extends Object

This class represents a single code/SID mapping of the encoding.


Constructor Summary
protected CFFEncoding.Entry(int code, int sid)
          Create a new instance of Entry with the given values.
 
Method Summary
 int getCode()
          The code of the entry.
 int getSID()
          The SID of the entry.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CFFEncoding.Entry

protected CFFEncoding.Entry(int code,
                            int sid)
Create a new instance of Entry with the given values.

Parameters:
code - the code
sid - the SID
Method Detail

getCode

public int getCode()
The code of the entry.

Returns:
the code

getSID

public int getSID()
The SID of the entry.

Returns:
the SID

toString

public String toString()

Overrides:
toString in class Object