Package org.apache.fontbox.cff
Class CFFOperator
java.lang.Object
org.apache.fontbox.cff.CFFOperator
This class represents a CFF operator.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intcalculateKey(int b0, int b1) static StringgetOperator(int b0) Returns the operator name corresponding to the given one byte representation.static StringgetOperator(int b0, int b1) Returns the operator name corresponding to the given two byte representation.private static voidprivate static void
-
Field Details
-
keyMap
-
-
Constructor Details
-
CFFOperator
private CFFOperator()
-
-
Method Details
-
register
-
register
-
getOperator
Returns the operator name corresponding to the given one byte representation.- Parameters:
b0- the first byte of the operator- Returns:
- the corresponding operator name
-
getOperator
Returns the operator name corresponding to the given two byte representation.- Parameters:
b0- the first byte of the operatorb1- the second byte of the operator- Returns:
- the corresponding operator name
-
calculateKey
private static int calculateKey(int b0, int b1)
-