|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.extex.backend.documentWriter.postscript.converter.AbstractConverter
public abstract class AbstractConverter
This is the abstract base class for an PS converter.
Constructor Summary | |
---|---|
AbstractConverter()
Creates a new object. |
Method Summary | |
---|---|
protected FontManager |
getFontManager()
Getter for fontManager. |
void |
init(HeaderManager headerMan,
FontManager fontMan)
Perform some initializations for each document. |
void |
setResourceFinder(ResourceFinder resourceFinder)
|
protected void |
treatSpecial(java.io.PrintStream out,
SpecialNode specialNode)
Process a special node. |
void |
writeHeaders(java.io.PrintStream stream)
Write the header to the target stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.extex.backend.documentWriter.postscript.converter.PsConverter |
---|
toPostScript |
Constructor Detail |
---|
public AbstractConverter()
Method Detail |
---|
protected FontManager getFontManager()
public void init(HeaderManager headerMan, FontManager fontMan) throws java.io.IOException
init
in interface PsConverter
headerMan
- the header managerfontMan
- the font manager
java.io.IOException
- in case of an IO exceptionPsConverter.init(
org.extex.backend.documentWriter.postscript.util.HeaderManager,
org.extex.backend.documentWriter.postscript.util.FontManager)
public void setResourceFinder(ResourceFinder resourceFinder)
org.extex.resource.ResourceAware#setResourceFinder(
org.extex.resource.ResourceFinder)
protected void treatSpecial(java.io.PrintStream out, SpecialNode specialNode) throws GeneralException
out
- the output streamspecialNode
- the node
GeneralException
- in case of an errorpublic void writeHeaders(java.io.PrintStream stream) throws java.io.IOException
writeHeaders
in interface PsConverter
stream
- the target stream
java.io.IOException
- in case of an I/O errorPsConverter.writeHeaders(
PrintStream)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |