FreeHEP API
Version current

org.freehep.graphics2d.font
Class WINLatin

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

public class WINLatin
extends AbstractCharTable

Generated WIN Latin Encoding Table.

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

Constructor Summary
WINLatin()
           
 
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

WINLatin

public WINLatin()
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.