|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--xbn.string.padchop.SpcfcCfgIfNull
Part of PCSConfig that configures crash-if-null-specific items. See PCSConfig.
Source code: SpcfcCfgIfNull.java
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
SpcfcCfgIfNull()
Create a SpcfcCfgIfNull with default settings. |
|
SpcfcCfgIfNull(boolean b_crashIfNull)
Create a SpcfcCfgIfNull. |
|
SpcfcCfgIfNull(boolean b_crashIfNull,
StringBuffer sb_ifNull)
Create a SpcfcCfgIfNull. |
|
SpcfcCfgIfNull(StringBuffer sb_ifNull)
Create a SpcfcCfgIfNull. |
Method Summary | |
boolean |
doCrashIfNull()
If [the string to be padded/trimmed] is null, should an exception be thrown? |
StringBuffer |
getIfNullSB()
If [the string to be padded/trimmed] is null, what should be returned in its place? |
String |
toString()
Get some information about this SpcfcCfgIfNull. |
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 SpcfcCfgIfNull()
Create a SpcfcCfgIfNull with default settings.
Equal to SpcfcCfgIfNull(false)
public SpcfcCfgIfNull(boolean b_crashIfNull)
Create a SpcfcCfgIfNull.
Equal to SpcfcCfgIfNull(b_crashIfNull, (new StringBuffer("")))
public SpcfcCfgIfNull(StringBuffer sb_ifNull)
Create a SpcfcCfgIfNull.
Equal to SpcfcCfgIfNull(false, sb_ifNull)
public SpcfcCfgIfNull(boolean b_crashIfNull, StringBuffer sb_ifNull)
Create a SpcfcCfgIfNull.
b_crashIfNull
- If true and [the string to be padded/chopped] is null, throw an AssertException. If false and [the string to be padded/chopped] is null, return sb_ifNull. See doCrashIfNull.sb_ifNull
- The StringBuffer to return when [the string to be padded/chopped] is null and b_crashIfNull is false. See getIfNullSB.Method Detail |
public final boolean doCrashIfNull()
If [the string to be padded/trimmed] is null, should an exception be thrown?
public final StringBuffer getIfNullSB()
If [the string to be padded/trimmed] is null, what should be returned in its place?
public String toString()
Get some information about this SpcfcCfgIfNull.
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