|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.backend.documentWriter.postscript.util.HeaderManager
public class HeaderManager
The header manager keeps track of the headers for the PostScript file.
| Constructor Summary | |
|---|---|
HeaderManager()
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
add(java.io.InputStream stream,
java.lang.String name)
Add the contents read from a stream to the headers. |
void |
add(java.lang.String value,
java.lang.String name)
Add a string to the headers. |
void |
reset()
Clear the header buffer and discard its previous contents. |
void |
write(java.io.OutputStream stream)
Write the accumulated headers to the output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeaderManager()
| Method Detail |
|---|
public void add(java.io.InputStream stream,
java.lang.String name)
throws java.io.IOException
stream - the stream to read fromname - the name of the stream
java.io.IOException - in case of an error during the writing
public void add(java.lang.String value,
java.lang.String name)
throws java.io.IOException
value - the string to addname - the name for the DSC
java.io.IOException - in case of an error during the writingpublic void reset()
public void write(java.io.OutputStream stream)
throws java.io.IOException
stream - the target stream
java.io.IOException - in case of an IO error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||