org.extex.font.format.texencoding
Class EncWriter

java.lang.Object
  extended by org.extex.font.format.texencoding.EncWriter

public class EncWriter
extends java.lang.Object

Class for a encoding writer.

Version:
$Revision: 5608 $
Author:
Michael Niedermair

Constructor Summary
EncWriter()
          Create a new object.
 
Method Summary
 java.lang.String getEncname()
          Returns the encname.
 boolean isComments()
          Returns the comments.
 void setComments(boolean c)
          The comments to set.
 void setEncname(java.lang.String name)
          The encname to set.
 void setEncoding(int pos, java.lang.String name)
          Set a encoding value.
 void setHeaderComment(java.lang.String headerComment)
          Setter for headerComment.
 void write(java.io.OutputStream out)
          Write the encoding vector to a output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncWriter

public EncWriter()
Create a new object.

Method Detail

getEncname

public java.lang.String getEncname()
Returns the encname.

Returns:
Returns the encname.

isComments

public boolean isComments()
Returns the comments.

Returns:
Returns the comments.

setComments

public void setComments(boolean c)
The comments to set.

Parameters:
c - The comments to set.

setEncname

public void setEncname(java.lang.String name)
The encname to set.

Parameters:
name - The encname to set.

setEncoding

public void setEncoding(int pos,
                        java.lang.String name)
Set a encoding value.

Parameters:
pos - The position.
name - The glyph name.

setHeaderComment

public void setHeaderComment(java.lang.String headerComment)
Setter for headerComment.

Parameters:
headerComment - the headerComment to set

write

public void write(java.io.OutputStream out)
           throws java.io.IOException
Write the encoding vector to a output stream.

Parameters:
out - The output
Throws:
java.io.IOException - if an IO-error occurred.