Package org.apache.fontbox.cff
Class CFFOperator
- java.lang.Object
 - 
- org.apache.fontbox.cff.CFFOperator
 
 
- 
public class CFFOperator extends java.lang.ObjectThis class represents a CFF operator.- Version:
 - $Revision: 1.0 $
 - Author:
 - Villu Ruusmann
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCFFOperator.KeyThis class is a holder for a key value. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)CFFOperator.KeygetKey()The key of the operator.java.lang.StringgetName()The name of the operator.static CFFOperatorgetOperator(java.lang.String name)Returns the operator corresponding to the given name.static CFFOperatorgetOperator(CFFOperator.Key key)Returns the operator corresponding to the given key.inthashCode()java.lang.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getKey
public CFFOperator.Key getKey()
The key of the operator.- Returns:
 - the key
 
 
- 
getName
public java.lang.String getName()
The name of the operator.- Returns:
 - the name
 
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
equals
public boolean equals(java.lang.Object object)
- Overrides:
 equalsin classjava.lang.Object
 
- 
getOperator
public static CFFOperator getOperator(CFFOperator.Key key)
Returns the operator corresponding to the given key.- Parameters:
 key- the given key- Returns:
 - the corresponding operator
 
 
- 
getOperator
public static CFFOperator getOperator(java.lang.String name)
Returns the operator corresponding to the given name.- Parameters:
 name- the given name- Returns:
 - the corresponding operator
 
 
 - 
 
 -