org.extex.font.format.texencoding
Class EncFactory

java.lang.Object
  extended by org.extex.font.format.texencoding.EncFactory
All Implemented Interfaces:
java.io.Serializable

public class EncFactory
extends java.lang.Object
implements java.io.Serializable

Factory for enc-files.

Version:
$Revision: 5608 $
Author:
Michael Niedermair
See Also:
Serialized Form

Constructor Summary
EncFactory(ResourceFinder afinder)
          Create a new object.
 
Method Summary
 java.lang.String[] getEncodingTable(java.lang.String filename)
          Returns the encoding table.
 java.lang.String[] getEncodingTableWithoutSlash(java.lang.String filename)
          Returns the encoding table (without a slash in the name).
 EncReader getEncReader(java.lang.String filename)
          Returns the encoding reader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncFactory

public EncFactory(ResourceFinder afinder)
Create a new object.

Parameters:
afinder - finder
Method Detail

getEncodingTable

public java.lang.String[] getEncodingTable(java.lang.String filename)
                                    throws FontException,
                                           ConfigurationException
Returns the encoding table.

Parameters:
filename - the file name.
Returns:
Returns the encoding table.
Throws:
FontException - if an font-error occurred.
ConfigurationException - from the resource finder.

getEncodingTableWithoutSlash

public java.lang.String[] getEncodingTableWithoutSlash(java.lang.String filename)
                                                throws FontException,
                                                       ConfigurationException
Returns the encoding table (without a slash in the name).

Parameters:
filename - the file name.
Returns:
Returns the encoding table.
Throws:
FontException - if an font-error occurred.
ConfigurationException - from the resource finder.

getEncReader

public EncReader getEncReader(java.lang.String filename)
                       throws FontException,
                              ConfigurationException
Returns the encoding reader.

Parameters:
filename - the file name.
Returns:
Returns the encoding reader.
Throws:
FontException - if an font-error occurred.
ConfigurationException - from the resource finder.