|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmmp.engine.Settings
public class Settings
Settings of the MNI macro processor.
Nested Class Summary | |
---|---|
static class |
Settings.CompatibilityLevel
Levels of compatibility of builtin macros (MMP > GNU > POSIX). |
Constructor Summary | |
---|---|
Settings()
Default constructor. |
Method Summary | |
---|---|
void |
addToSearchPath(java.lang.String directory)
Adds directory to the search path for includes. |
void |
changeComment(java.lang.String begComment,
java.lang.String endComment)
Changes the delimiters for comments. |
void |
changeQuote(java.lang.String begQuote,
java.lang.String endQuote)
Changes the delimiters for quoted strings. |
java.lang.String |
getBegComment()
Get the string that begins a comment. |
java.lang.String |
getBegQuote()
Get the string that's the beginning quote. |
java.lang.String |
getEndComment()
Get the string that ends a comment. |
java.lang.String |
getEndQuote()
Get the string that's the end quote. |
int |
getRecursionLimit()
Get the limit for recursive calls of macros. |
java.util.List<java.lang.String> |
getSearchPath()
Get list of all directories in the search path. |
java.util.logging.Handler |
getTraceHandler()
Get current trace handler. |
void |
setDefaultComment()
Sets the delimiters for comments to default. |
void |
setDefaultQuote()
Sets the delimiters for quoted strings to default. |
void |
setRecursionLimit(int recursionLimit)
Set the limit for recursion. |
void |
setTraceHandler(java.util.logging.Handler traceHandler)
Set handler as trace handler. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Settings()
Method Detail |
---|
public final void addToSearchPath(java.lang.String directory)
directory
- to be searched toopublic final void changeComment(java.lang.String begComment, java.lang.String endComment)
begComment
- the begComment to setendComment
- the endComment to setpublic final void changeQuote(java.lang.String begQuote, java.lang.String endQuote)
begQuote
- the begQuote to setendQuote
- the endQuote to setpublic final java.lang.String getBegComment()
public final java.lang.String getBegQuote()
public final java.lang.String getEndComment()
public final java.lang.String getEndQuote()
public final int getRecursionLimit()
public final java.util.List<java.lang.String> getSearchPath()
public final java.util.logging.Handler getTraceHandler()
public final void setDefaultComment()
public final void setDefaultQuote()
public final void setRecursionLimit(int recursionLimit)
recursionLimit
- the limit to setpublic final void setTraceHandler(java.util.logging.Handler traceHandler)
traceHandler
- to be set
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |