|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.unit.omega.ocp.util.OcpUtil
public final class OcpUtil
This class contains utility methods.
| Method Summary | |
|---|---|
static Ocp |
scanOcp(Context context,
TokenSource source,
Typesetter typesetter,
ResourceFinder finder)
Get an ocp. |
static OcpProgram |
scanOcpCode(Context context,
TokenSource source,
Typesetter typesetter,
java.lang.String primitive)
San the input for a control sequence and extract an ΩCP from its code value. |
static java.lang.String |
scanOcpFileName(Context context,
TokenSource source,
CodeToken primitive)
Scan an ΩCP file name. |
static java.lang.String |
scanOcpFileName(TokenSource source,
Context context)
Get an ocp file name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String scanOcpFileName(Context context,
TokenSource source,
CodeToken primitive)
throws HelpingException,
TypesetterException
〈ocp file name〉The scanning is performed in one of two ways:
context - the processing contextsource - the source for new tokensprimitive - the name of the primitive for reporting
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter
public static java.lang.String scanOcpFileName(TokenSource source,
Context context)
throws HelpingException
source - the source for new tokenscontext - the interpreter context
HelpingException - in case of an error
public static Ocp scanOcp(Context context,
TokenSource source,
Typesetter typesetter,
ResourceFinder finder)
throws HelpingException
context - the interpreter contextsource - the source for new tokenstypesetter - the typesetterfinder - the resource finder to use
HelpingException - in case of an error
public static OcpProgram scanOcpCode(Context context,
TokenSource source,
Typesetter typesetter,
java.lang.String primitive)
throws HelpingException
context - the interpreter contextsource - the source for new tokenstypesetter - the typesetterprimitive - the name of the primitive for error messages
HelpingException - in case of an error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||