|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.interfaceware.chameleon.Config
public class Config
This class allows access to programmatically change
delimiter characters. The Config object should not be created directly
but instead should be obtained from the Engine.config()
method.
Constructor Summary | |
---|---|
Config(long Handle)
Construct a Config object with the specified config handle. |
Method Summary | |
---|---|
int |
countOfDelimiter()
Get the number of delimiter characters. |
protected void |
finalize()
Finalizer that invokes the release method. |
int |
getDelimiterChar(int CharIndex)
Get the delimiter character at CharIndex . |
int |
getEscapeCharacter()
Get the escape character. |
int |
getRepeatCharacter()
Get the repeat character. |
long |
handle()
Get the Config object handle. |
void |
release()
Free the Config object handle. |
void |
setDelimiterChar(int CharIndex,
int NewValue)
Set the delimiter character at CharIndex to NewValue . |
void |
setEscapeCharacter(int NewValue)
Set the escape character to NewValue . |
void |
setRepeatCharacter(int NewValue)
Set the repeat character to NewValue . |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Config(long Handle) throws ChameleonException
Engine.config()
method.
ChameleonException
Method Detail |
---|
public void release() throws ChameleonException
ChameleonException
protected void finalize() throws ChameleonException
finalize
in class java.lang.Object
ChameleonException
public int countOfDelimiter() throws ChameleonException
ChameleonException
public void setDelimiterChar(int CharIndex, int NewValue) throws ChameleonException
CharIndex
to NewValue
.
ChameleonException
public int getDelimiterChar(int CharIndex) throws ChameleonException
CharIndex
.
ChameleonException
public void setEscapeCharacter(int NewValue) throws ChameleonException
NewValue
.
The default escape character is '\'.
ChameleonException
public int getEscapeCharacter() throws ChameleonException
ChameleonException
public void setRepeatCharacter(int NewValue) throws ChameleonException
NewValue
.
The default repeat character is '~'.
ChameleonException
public int getRepeatCharacter() throws ChameleonException
ChameleonException
public long handle()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |