|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.dvi.command.DviCommand
public abstract class DviCommand
Abstract class for all DVI commands.
| Field Summary | |
|---|---|
static int |
BOP_LENGTH
The length of c elements of the bob command. |
| Constructor Summary | |
|---|---|
protected |
DviCommand(int opcode,
int sp)
Create a new object. |
| Method Summary | |
|---|---|
static java.util.List<DviFntDef> |
getFntDefs(RandomAccessR rar)
Read the fnt_def commands. |
abstract java.lang.String |
getName()
Returns the name of the command. |
static DviCommand |
getNextCommand(RandomAccessR rar)
Reads the next dvi command. |
int |
getOpcode()
Returns the opcode of the command. |
static DviPost |
getPost(RandomAccessR rar)
Reads the DviPost command. |
static DviPre |
getPre(RandomAccessR rar)
Reads the DviPre command. |
int |
getStartPointer()
Returns the start pointer of the command. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int BOP_LENGTH
c elements of the bob command.
| Constructor Detail |
|---|
protected DviCommand(int opcode,
int sp)
opcode - the opcodesp - the start pointer| Method Detail |
|---|
public static DviCommand getNextCommand(RandomAccessR rar)
throws java.io.IOException,
FontException,
ConfigurationException
rar - the input
java.io.IOException - if an IO-error occurs.
FontException - if a font-error occurs.
ConfigurationException
public static DviPost getPost(RandomAccessR rar)
throws java.io.IOException,
FontException,
ConfigurationException
DviPost command.
rar - the input
DviPost command
java.io.IOException - if an IO-error occurs.
FontException - if a font-error occurs.
ConfigurationException
public static DviPre getPre(RandomAccessR rar)
throws java.io.IOException,
FontException,
ConfigurationException
DviPre command.
rar - the input
DviPre command
java.io.IOException - if an IO-error occurs.
FontException - if a font-error occurs.
ConfigurationException
public static java.util.List<DviFntDef> getFntDefs(RandomAccessR rar)
throws java.io.IOException,
FontException
The post commands must read before!
rar - the input
java.io.IOException - if an IO-error occurs.
FontException - if a font-error occurs.public int getOpcode()
public int getStartPointer()
public abstract java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||