org.extex.font.format.psfontmap
Class PsFontsMapReader

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

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

Reader for a psfonts.map-file.

Version:
$Revision: 7275 $
Author:
Michael Niedermair
See Also:
psfonts.map, Serialized Form

Field Summary
static PsFontsMapReader mapreader
          The single instance.
 
Method Summary
static PsFontsMapReader getInstance(java.io.InputStream in)
          Returns the single instance of the PsFontsMapReader.
 PsFontEncoding getPSFontEncoding(java.lang.String filename)
          Returns the encoding object for a font.
 java.util.Map<java.lang.String,PsFontEncoding> getPsFontEncodingMap()
          Returns the map with all PSFontEncodings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mapreader

public static PsFontsMapReader mapreader
The single instance.

Method Detail

getInstance

public static PsFontsMapReader getInstance(java.io.InputStream in)
                                    throws FontException
Returns the single instance of the PsFontsMapReader.

Parameters:
in - The input stream.
Returns:
Returns the single instance of the PsFontsMapReader.
Throws:
FontException - if an font-error occurred.

getPSFontEncoding

public PsFontEncoding getPSFontEncoding(java.lang.String filename)
Returns the encoding object for a font.

Parameters:
filename - The font file name.
Returns:
Returns the encoding for a font.

getPsFontEncodingMap

public java.util.Map<java.lang.String,PsFontEncoding> getPsFontEncodingMap()
Returns the map with all PSFontEncodings.

Returns:
Returns the map with all PSFontEncodings.