|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--xbn.config.CRConfig
Configuration for ConfigReader. See ConfigReader.
Source code: CRConfig.java
There are two parts to a CRConfig: CRCDelimiters and CRCVariable.
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
CRConfig(CRCDelimiters crc_delimiters)
Create a CRConfig. |
|
CRConfig(CRCDelimiters crc_delimiters,
CRCVariable crc_variable)
Create a CRConfig. |
Method Summary | |
APChar |
getAll2BEscNotVD()
Get an APChar containing every character that needs to be escaped, except variable delimiters. |
CRCDelimiters |
getCRCDelimiters()
Get the CRCDelimiters, which defines variable and comment delimiters. |
CRCVariable |
getCRCVariable()
Get the CRCVariable, which defines variable-related things. |
String |
toString()
Get information about this CRConfig. |
Methods inherited from class xbn.XBNObject |
getXMsgPrefix, sop, sopl, sopl, throwAX, throwAXIfBadStr, throwAXIfNull, throwAXSpoof |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CRConfig(CRCDelimiters crc_delimiters)
Create a CRConfig.
Equal to CRConfig(crc_delimiters, (new CRCVariable()))
public CRConfig(CRCDelimiters crc_delimiters, CRCVariable crc_variable)
Create a CRConfig.
Rules for all characters contained within these parameters: They...
crc_variable.getNullValue()
.crcv_unescape.getUSCIgnore().isSpcfcIgnored(THE_CHAR)
must equal false.Some of these restrictions are enforced in the CRCDelimiter constructor and CRCVariable constructor. This is a summary of all those restrictions.
crc_delimiters
- Defines variable and comment delimiters. May not be null. See getCRCDelimiters.crc_variable
- The configuration for variables. May not be null. See getCRCVariable.Method Detail |
public final CRCDelimiters getCRCDelimiters()
Get the CRCDelimiters, which defines variable and comment delimiters.
public final CRCVariable getCRCVariable()
Get the CRCVariable, which defines variable-related things.
public final APChar getAll2BEscNotVD()
Get an APChar containing every character that needs to be escaped, except variable delimiters.
In order to display any of these characters literally (in the name or value) it must be escaped.
Specifically, this contains:
getCRCDelimiters().getMLCStart()
, getMLCEnd()
and getSingleLineCmt()
.getCRCVariable().getCRCVUnescape().getEscapeChar()
getCRCVariable().getCRCVTrim().getESChar()
public String toString()
Get information about this CRConfig.
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1997-2003, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
http://sourceforge.net/projects/xbnjava