org.apache.fontbox.cff

Class CFFOperator

public class CFFOperator extends Object

This class represents a CFF operator.

Version: $Revision: 1.0 $

Author: Villu Russmann

Nested Class Summary
static classCFFOperator.Key
This class is a holder for a key value.
Method Summary
booleanequals(Object object)
CFFOperator.KeygetKey()
The key of the operator.
StringgetName()
The name of the operator.
static CFFOperatorgetOperator(CFFOperator.Key key)
Returns the operator corresponding to the given key.
static CFFOperatorgetOperator(String name)
Returns the operator corresponding to the given name.
inthashCode()
StringtoString()

Method Detail

equals

public boolean equals(Object object)
{@inheritDoc }

getKey

public CFFOperator.Key getKey()
The key of the operator.

Returns: the key

getName

public String getName()
The name of the operator.

Returns: the name

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(String name)
Returns the operator corresponding to the given name.

Parameters: key the given name

Returns: the corresponding operator

hashCode

public int hashCode()
{@inheritDoc }

toString

public String toString()
{@inheritDoc }
Copyright © 2008-2010 Apache Software Foundation. All Rights Reserved.