|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.backend.documentWriter.dvi.DviOutputStream
public class DviOutputStream
This class provides the methods to write to the dvi-Stream.
| Constructor Summary | |
|---|---|
DviOutputStream(java.io.OutputStream theOutputStream)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
close()
... |
int |
getStreamPosition()
Get the StreamPosition value. |
void |
writeByte(int theByte)
Writes a single byte to the output stream. |
void |
writeCodeNumberAndArg(int[] codes,
int argNumber)
Write a value and the dvi code to the output stream. |
void |
writeCodeNumberAndArg(int[] shortCodes,
int[] codes,
int argNumber)
Write a command with an number as argument. |
void |
writeNumber(int number,
int bytes)
Write a number to the output stream. |
void |
writeString(java.lang.String string)
Write a string to the output stream. |
void |
writeStringAndSize(java.lang.String string)
Write a string 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 DviOutputStream(java.io.OutputStream theOutputStream)
theOutputStream - OutputStream for dvi file| Method Detail |
|---|
public void close()
throws GeneralException,
java.io.IOException
GeneralException - ...
java.io.IOException - ...public int getStreamPosition()
public void writeByte(int theByte)
throws GeneralException
theByte - the output
GeneralException - if an error occurs
public void writeNumber(int number,
int bytes)
throws GeneralException
number - the numberbytes - the number of bytes for the number
GeneralException - if an error occurs
public void writeString(java.lang.String string)
throws GeneralException
string - the string
GeneralException - if an error occurs
public void writeStringAndSize(java.lang.String string)
throws GeneralException
string - the string
GeneralException - if an error occurs
public void writeCodeNumberAndArg(int[] codes,
int argNumber)
throws GeneralException
codes - codes for one, two, ... long argumentargNumber - the number for writing
GeneralException - if an error occurs
public void writeCodeNumberAndArg(int[] shortCodes,
int[] codes,
int argNumber)
throws GeneralException
shortCodes - codes for numbers including the argumentcodes - codes for longer argumentsargNumber - the argument
GeneralException - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||