|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--xbn.string.TALConfig
Configuration regarding TrimChars.trimAllLines. See TrimChars.trimAllLines. This object is provided directly to the TrimChars constructor
Source code: TALConfig.java
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
TALConfig()
Create a TALConfig with default settings. |
|
TALConfig(boolean b_trimLeft,
boolean b_trimRight)
Create a TALConfig. |
|
TALConfig(String s_lineSep)
Create a TALConfig. |
|
TALConfig(String s_lineSep,
boolean b_trimLeft,
boolean b_trimRight)
Create a TALConfig. |
Method Summary | |
boolean |
doTrimLeft()
Should characters be trimmed off the left side of each line? |
boolean |
doTrimRight()
Should characters be trimmed off the right side of each line? |
String |
getLineSeparator()
Get the line separator. |
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, toString, wait, wait, wait |
Constructor Detail |
public TALConfig()
public TALConfig(String s_lineSep)
Create a TALConfig.
Equal to TALConfig(s_lineSep, true, true)
public TALConfig(boolean b_trimLeft, boolean b_trimRight)
public TALConfig(String s_lineSep, boolean b_trimLeft, boolean b_trimRight)
Create a TALConfig.
s_lineSep
- Defines the line separator. May not be null or zero characters in length, and may not contain any characters existing in ac_toTrim
(as provided to the TrimChars constructor.b_trimLeft
- When true, then the left side of each line should be trimmed. If false, the the left side is left alone. See doTrimLeft.b_trimRight
- When true, then the right side of each line should be trimmed. If false, the the right side is left alone. See doTrimRight.Method Detail |
public final String getLineSeparator()
Get the line separator.
public final boolean doTrimLeft()
Should characters be trimmed off the left side of each line?
public final boolean doTrimRight()
Should characters be trimmed off the right side of each line?
|
|||||||||
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