org.extex.util.font
Class AbstractFontUtil

java.lang.Object
  extended by org.extex.util.font.AbstractFontUtil
Direct Known Subclasses:
Afm2Enc, Afm2Mtx, Afm2Var, Afm2Xml, AfmListGlyphs, AfmMissingGlyph, CreateEmptyEncoding, Tfm2Pl, Tfm2Xml, Xtf2Var, Xtf2Xml

public class AbstractFontUtil
extends java.lang.Object

Abstract class for all font utilities.

Version:
$Revision:5594 $
Author:
Michael Niedermair

Constructor Summary
AbstractFontUtil()
          Create a new object.
AbstractFontUtil(java.lang.Class<?> loggerclass)
          Create a new object.
 
Method Summary
protected  java.lang.String createVersion(java.lang.String key)
          Create the comment with ExTeX-version and date.
 java.util.logging.Handler getConsoleHandler()
          Getter for consoleHandler.
 Localizer getLocalizer()
          Getter for localizer.
 java.util.logging.Logger getLogger()
          Getter for logger.
 java.lang.String getOutdir()
          Getter for outdir.
protected  java.lang.String removeExtensions(java.io.File f)
          Returns only the name of a file.
protected  java.lang.String removeExtensions(java.lang.String n)
          Returns only the name of a file.
 void setOutdir(java.lang.String outdir)
          Setter for outdir.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFontUtil

public AbstractFontUtil()
Create a new object.


AbstractFontUtil

public AbstractFontUtil(java.lang.Class<?> loggerclass)
Create a new object.

Parameters:
loggerclass - The class for the logger
Method Detail

createVersion

protected java.lang.String createVersion(java.lang.String key)
Create the comment with ExTeX-version and date.

Parameters:
key - The key for the property.
Returns:
Returns the comment with the ExTeX-Version and the date.

getConsoleHandler

public java.util.logging.Handler getConsoleHandler()
Getter for consoleHandler.

Returns:
the consoleHandler

getLocalizer

public Localizer getLocalizer()
Getter for localizer.

Returns:
the localizer

getLogger

public java.util.logging.Logger getLogger()
Getter for logger.

Returns:
the logger

getOutdir

public java.lang.String getOutdir()
Getter for outdir.

Returns:
the outdir

removeExtensions

protected java.lang.String removeExtensions(java.io.File f)
Returns only the name of a file.

Parameters:
f - The file.
Returns:
Returns only the name of a file.

removeExtensions

protected java.lang.String removeExtensions(java.lang.String n)
Returns only the name of a file.

Parameters:
n - The name.
Returns:
Returns only the name of a file.

setOutdir

public void setOutdir(java.lang.String outdir)
Setter for outdir.

Parameters:
outdir - the outdir to set