FreeHEP API
Version current

org.freehep.graphics2d.font
Class PDFLatin

java.lang.Object
  extended byorg.freehep.graphics2d.font.AbstractCharTable
      extended byorg.freehep.graphics2d.font.PDFLatin
All Implemented Interfaces:
CharTable

public class PDFLatin
extends AbstractCharTable

Generated PDF Latin Encoding Table.

Version:
$Id: PDFLatin.java,v 1.1 2005/01/03 21:22:24 duns Exp $
Author:
org.freehep.graphics2d.font.CharTableConverter
Source Code:
PDFLatin.java

Constructor Summary
PDFLatin()
           
 
Method Summary
 String getEncoding()
          Returns the encoding name of the table.
 String getName()
          Returns the name of the table.
 int toEncoding(String name)
          Converts name into character code.
 String toName(Character c)
          Converts unicode Character object to name.
 String toName(int enc)
          Converts character code into a name.
 char toUnicode(String name)
          Converts a name to a unicode character.
 
Methods inherited from class org.freehep.graphics2d.font.AbstractCharTable
toEncoding, toName, toName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFLatin

public PDFLatin()
Method Detail

toName

public String toName(Character c)
Description copied from interface: CharTable
Converts unicode Character object to name.

Parameters:
c - unicode Character object
Returns:
name

toName

public String toName(int enc)
Description copied from interface: CharTable
Converts character code into a name.

Parameters:
enc - code
Returns:
name

toEncoding

public int toEncoding(String name)
Description copied from interface: CharTable
Converts name into character code.

Parameters:
name - name of the character
Returns:
character code

toUnicode

public char toUnicode(String name)
Description copied from interface: CharTable
Converts a name to a unicode character.

Parameters:
name - of the character
Returns:
unicode character

getName

public String getName()
Description copied from interface: CharTable
Returns the name of the table.

Returns:
table name

getEncoding

public String getEncoding()
Description copied from interface: CharTable
Returns the encoding name of the table.

Returns:
encoding name

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.