|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--xbn.string.UtilSOB | +--xbn.string.UtilStringBuffer
Random functions for java.lang.StringBuffers. See StringBuffer.
Source code: UtilStringBuffer.java. Unit tests: See the unit tests for UtilSOB.
Field Summary | |
static String |
sUSB
To shorten code and Javadoc. |
Fields inherited from class xbn.string.UtilSOB |
sUSOB |
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
UtilStringBuffer()
Create a UtilStringBuffer. |
Method Summary | |
void |
dupAppend(StringBuffer str_buffer,
String s_toDuplicate,
int i_dupCount)
Append a duplicated string onto the StringBuffer. |
SOBString[] |
getAOSOBS(StringBuffer[] a_stringBuffer)
Get an array of SOBStrings from the array of StringBuffers. |
SOBStringBuffer[] |
getAOSOBSB(StringBuffer[] a_stringBuffer)
Get an array of SOBStringBuffers from the array of StringBuffers. |
StringBuffer |
getDupAppend(StringBuffer str_buffer,
String s_toDuplicate,
int i_dupCount)
Get a copy of the StringBuffer, after appending a duplicated string onto it. |
int |
getIdxOf1stCharNIA(StringBuffer str_buffer,
char[] a_char)
Get the array index of the first character that is not a member of the array. |
int |
getIdxOf1stCharNIA(StringBuffer str_buffer,
char[] a_char,
boolean b_validateAOC)
Get the array index of the first character that is not a member of the array. |
int |
getIdxOf1stCharNIA(StringBuffer str_buffer,
char[] a_char,
int i_idxStart,
int i_idxAfterEnd)
Get the array index of the first character that is not a member of the array. |
int |
getIdxOf1stCharNIA(StringBuffer str_buffer,
char[] a_char,
int i_idxStart,
int i_idxAfterEnd,
boolean b_validateAOC)
Get the array index of the first character that does not exist in the array. |
int |
getIdxOf1stNonWS(StringBuffer str_buffer)
Get the array index of the first non-white-space character. |
int |
getIdxOfLastCharNIA(StringBuffer str_buffer,
char[] a_char)
Get the array index of the last character that is not a member of the array. |
int |
getIdxOfLastCharNIA(StringBuffer str_buffer,
char[] a_char,
boolean b_validateAOC)
Get the array index of the last character that is not a member of the array. |
int |
getIdxOfLastCharNIA(StringBuffer str_buffer,
char[] a_char,
int i_idxStart,
int i_idxAfterEnd)
Get the array index of the last character that is not a member of the array. |
int |
getIdxOfLastCharNIA(StringBuffer str_buffer,
char[] a_char,
int i_idxStart,
int i_idxAfterEnd,
boolean b_validateAOC)
Get the array index of the last character that does not exist in the array. |
int |
getIdxOfLastNonWS(StringBuffer str_buffer)
Get the array index of the last non-white-space character. |
StringBuffer |
getQuotedLines(StringBuffer str_buffer)
Get a copy of the StringBuffer where each line is quoted. |
StringBuffer |
getQuotedLines(StringBuffer str_buffer,
String s_quote)
Get a copy of the StringBuffer where each line is quoted. |
StringBuffer |
getQuotedLines(StringBuffer str_buffer,
String s_quoteStart,
String s_quoteEnd)
Get a copy of the StringBuffer where each line is quoted. |
StringBuffer |
getQuotedLines(StringBuffer str_buffer,
String s_quoteStart,
String s_quoteEnd,
String s_lineSep)
Get a copy of the StringBuffer (as a StringBuffer) where each line is quoted. |
StringBuffer |
getReplaceAll(StringBuffer str_buffer,
String s_replaceWhat,
String s_replaceWith)
Return a copy of the provided StringBuffer, in which all occurances are replaced. |
StringBuffer |
getReplaceUntil(StringBuffer str_buffer,
String s_replaceWhat,
String s_replaceWith)
Replace all occurances, with multiple passes, until no instances of the search string remain. |
SOBString |
getSOBS(StringBuffer str_buffer,
String s_callingClsFnc)
Create an SOBString from the StringBuffer. |
SOBString |
getSOBS(StringBuffer str_buffer,
String s_sbDesc,
String s_callingClsFnc)
Create an SOBString from the StringBuffer. |
SOBStringBuffer |
getSOBSB(StringBuffer str_buffer,
String s_callingClsFnc)
Create an SOBStringBuffer from the StringBuffer. |
SOBStringBuffer |
getSOBSB(StringBuffer str_buffer,
String s_sbDesc,
String s_callingClsFnc)
Create an SOBStringBuffer from the StringBuffer. |
StringBuffer |
getVisible(StringBuffer str_buffer)
Get a copy of the StringBuffer, where the contents' invisible characters are made visible. |
boolean |
hasDigitsOrInAOC(StringBuffer str_buffer,
boolean b_lettersOkOpt,
char[] ac_legal)
Does the string contain only digits and (other provided) legal characters? |
boolean |
hasDigitsOrInAOC(StringBuffer str_buffer,
boolean b_lettersOkOpt,
char[] ac_legal,
boolean b_validateAOC)
Does the string contain only digits and (other provided) legal characters? |
boolean |
hasLDOrInAOC(StringBuffer str_buffer,
char[] ac_legal)
Does the string contain only letters, digits and (other provided) legal characters? |
boolean |
hasLDOrInAOC(StringBuffer str_buffer,
char[] ac_legal,
boolean b_validateAOC)
Does the string contain only letters, digits and (other provided) legal characters? |
boolean |
hasLegalChars(StringBuffer str_buffer,
char[] ac_legal)
Does the string contain only legal characters? |
boolean |
hasLegalChars(StringBuffer str_buffer,
char[] ac_legal,
boolean b_validateAOC)
Does the string contain only legal characters? |
boolean |
hasLettersOrInAOC(StringBuffer str_buffer,
boolean b_digitsOkOpt,
char[] ac_legal)
Does the string contain only letters and (other provided) legal characters? |
boolean |
hasLettersOrInAOC(StringBuffer str_buffer,
boolean b_digitsOkOpt,
char[] ac_legal,
boolean b_validateAOC)
Does the string contain only letters and (other provided) legal characters? |
boolean |
hasNoIllegalChars(StringBuffer str_buffer,
char[] ac_illegal)
Does the string not contain any illegal characters? |
boolean |
hasNoIllegalChars(StringBuffer str_buffer,
char[] ac_illegal,
boolean b_validateAOC)
Does the string not contain any illegal characters? |
boolean |
hasNoTabSpace(StringBuffer str_buffer)
Does the StringBuffer not contain any tabs and space characters? |
boolean |
isHexidecimal(StringBuffer sb_potentialHex)
Is the value of the StringBuffer a valid hexidecimal number? |
boolean |
isLegal(StringBuffer str_buffer,
boolean b_lettersOkOpt,
boolean b_digitsOkOpt,
char[] ac_legal)
Does the string contain only legal characters? |
boolean |
isLegal(StringBuffer str_buffer,
boolean b_lettersOkOpt,
boolean b_digitsOkOpt,
char[] ac_legal,
boolean b_validateAOC)
Does the string contain only legal characters? |
boolean |
isLetterDigitUnderscore(StringBuffer str_buffer)
Does the string contain only letters, digits and underscores? |
boolean |
isNotDigitsOrInAOC(StringBuffer str_buffer,
boolean b_lettersBadOpt,
char[] ac_legal)
Does the string not contain any digits or (other provided) illegal characters? |
boolean |
isNotDigitsOrInAOC(StringBuffer str_buffer,
boolean b_lettersBadOpt,
char[] ac_legal,
boolean b_validateAOC)
Does the string not contain any digits or (other provided) illegal characters? |
boolean |
isNotIllegal(StringBuffer str_buffer,
boolean b_lettersBadOpt,
boolean b_digitsBadOpt,
char[] ac_illegal)
Does the string not contain any illegal characters? |
boolean |
isNotIllegal(StringBuffer str_buffer,
boolean b_lettersBadOpt,
boolean b_digitsBadOpt,
char[] ac_illegal,
boolean b_validateAOC)
Does the string not contain any illegal characters? |
boolean |
isNotLDOrInAOC(StringBuffer str_buffer,
char[] ac_legal)
Does the string not contain any letters, digits or (other provided) illegal characters? |
boolean |
isNotLDOrInAOC(StringBuffer str_buffer,
char[] ac_legal,
boolean b_validateAOC)
Does the string not contain any letters, digits or (other provided) illegal characters? |
boolean |
isNotLettersOrInAOC(StringBuffer str_buffer,
boolean b_digitsBadOpt,
char[] ac_legal)
Does the string not contain any letters or (other provided) illegal characters? |
boolean |
isNotLettersOrInAOC(StringBuffer str_buffer,
boolean b_digitsBadOpt,
char[] ac_legal,
boolean b_validateAOC)
Does the string not contain any letters or (other provided) illegal characters? |
boolean |
isTabSpace(StringBuffer sb_potentialTabSpace)
Does the StringBuffer contain only tabs and spaces? |
void |
makeVisible(StringBuffer str_buffer)
Translate the contents of a StringBuffer, so all invisible characters are made visible. |
void |
quoteLines(StringBuffer str_buffer)
Quote each line within a StringBuffer. |
void |
quoteLines(StringBuffer str_buffer,
String s_quote)
Quote each line within a StringBuffer. |
void |
quoteLines(StringBuffer str_buffer,
String s_quoteStart,
String s_quoteEnd)
Quote each line within a StringBuffer. |
void |
quoteLines(StringBuffer str_buffer,
String s_quoteStart,
String s_quoteEnd,
String s_lineSep)
Quote each line within a StringBuffer. |
int |
replaceAll(StringBuffer str_buffer,
String s_replaceWhat,
String s_replaceWith)
Replace all occurances. |
i_i |
replaceUntil(StringBuffer str_buffer,
String s_replaceWhat,
String s_replaceWith)
Replace all occurances, with multiple passes, until no instances of the search string remain. |
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 |
Field Detail |
public static final String sUSB
To shorten code and Javadoc.
Equal to "xbn.string.UtilStringBuffer."
Constructor Detail |
public UtilStringBuffer()
Create a UtilStringBuffer. This constructor does nothing.
Method Detail |
public final StringBuffer getQuotedLines(StringBuffer str_buffer)
Get a copy of the StringBuffer where each line is quoted.
((SOBStringBuffer)getQuotedLines(getSOBSB(str_buffer, sUSB + "getQuotedLines"))).getStringBuffer()
public final StringBuffer getQuotedLines(StringBuffer str_buffer, String s_quote)
Get a copy of the StringBuffer where each line is quoted.
((SOBStringBuffer)getQuotedLines(getSOBSB(str_buffer, sUSB + "getQuotedLines"), s_quote)).getStringBuffer()
public final StringBuffer getQuotedLines(StringBuffer str_buffer, String s_quoteStart, String s_quoteEnd)
Get a copy of the StringBuffer where each line is quoted.
((SOBStringBuffer)getQuotedLines(getSOBSB(str_buffer, sUSB + "getQuotedLines"), s_quoteStart, s_quoteEnd)).getStringBuffer()
public final StringBuffer getQuotedLines(StringBuffer str_buffer, String s_quoteStart, String s_quoteEnd, String s_lineSep)
Get a copy of the StringBuffer (as a StringBuffer) where each line is quoted.
((SOBStringBuffer)getQuotedLines(getSOBSB(str_buffer, sUSB + "getQuotedLines"), s_quoteStart, s_quoteEnd, s_lineSep)).getStringBuffer()
public final void quoteLines(StringBuffer str_buffer)
Quote each line within a StringBuffer.
Equal to quoteLines(str_buffer, sUSB + "'")
public final void quoteLines(StringBuffer str_buffer, String s_quote)
Quote each line within a StringBuffer.
Equal to quoteLines(getSOBSB(str_buffer, sUSB + "quoteLines"), s_quote)
public final void quoteLines(StringBuffer str_buffer, String s_quoteStart, String s_quoteEnd)
Quote each line within a StringBuffer.
Equal to quoteLines(str_buffer, s_quoteStart, s_quoteEnd)
public final void quoteLines(StringBuffer str_buffer, String s_quoteStart, String s_quoteEnd, String s_lineSep)
Quote each line within a StringBuffer.
public final StringBuffer getReplaceAll(StringBuffer str_buffer, String s_replaceWhat, String s_replaceWith)
Return a copy of the provided StringBuffer, in which all occurances are replaced.
getReplaceAll(getSOBSB(str_buffer, sUSB + "getReplaceAll"), s_replaceWhat, s_replaceWith).getStringBuffer()
public final int replaceAll(StringBuffer str_buffer, String s_replaceWhat, String s_replaceWith)
Replace all occurances.
replaceAll(getSOBSB(str_buffer, sUSB + "replaceAll"), s_replaceWhat, s_replaceWith)
public final StringBuffer getReplaceUntil(StringBuffer str_buffer, String s_replaceWhat, String s_replaceWith)
Replace all occurances, with multiple passes, until no instances of the search string remain.
getReplaceUntil(getSOBSB(str_buffer, sUSB + "getReplaceUntil"), s_replaceWhat, s_replaceWith)
public final i_i replaceUntil(StringBuffer str_buffer, String s_replaceWhat, String s_replaceWith)
Replace all occurances, with multiple passes, until no instances of the search string remain.
replaceUntil(getSOBSB(str_buffer, sUSB + "replaceUntil"), s_replaceWhat, s_replaceWith)
public boolean isHexidecimal(StringBuffer sb_potentialHex)
Is the value of the StringBuffer a valid hexidecimal number?
isHexidecimal(getSOBSB(sb_potentialHex, "sb_potentialHex", "isHexidecimal"))
public boolean isTabSpace(StringBuffer sb_potentialTabSpace)
Does the StringBuffer contain only tabs and spaces?
sb_potentialTabSpace
- The StringBuffer analyzed, to see if it contains only tabs and spaces characters. May not be null or zero characters in length.isTabSpace(getSOBSB(sb_potentialTabSpace, "sb_potentialTabSpace", "isTabSpace"))
public boolean hasNoTabSpace(StringBuffer str_buffer)
Does the StringBuffer not contain any tabs and space characters?
str_buffer
- The StringBuffer analyzed, to see if it contains only non-tabs and non-space characters. May not be null or zero characters in length.hasNoTabSpace(getSOBSB(str_buffer, sUSB + "hasNoTabSpace"))
public final void dupAppend(StringBuffer str_buffer, String s_toDuplicate, int i_dupCount)
Append a duplicated string onto the StringBuffer.
Equal to dupAppend(getSOBSB(str_buffer, sUSB + "dupAppend"), s_toDuplicate, i_dupCount)
public final StringBuffer getDupAppend(StringBuffer str_buffer, String s_toDuplicate, int i_dupCount)
Get a copy of the StringBuffer, after appending a duplicated string onto it.
((SOBStringBuffer)dupAppend(getSOBSB(str_buffer, sUSB + "getDupAppend"), s_toDuplicate, i_dupCount)).getStringBuffer()
public final int getIdxOf1stNonWS(StringBuffer str_buffer)
Get the array index of the first non-white-space character.
getIdxOf1stNonWS(getSOBSB(str_buffer, sUSB + "getIdxOf1stNonWS"))
public final int getIdxOfLastNonWS(StringBuffer str_buffer)
Get the array index of the last non-white-space character.
getIdxOfLastNonWS(getSOBSB(str_buffer, sUSB + "getIdxOfLastNonWS"))
public final int getIdxOf1stCharNIA(StringBuffer str_buffer, char[] a_char)
Get the array index of the first character that is not a member of the array.
getIdxOf1stCharNIA(getSOBSB(str_buffer, sUSB + "getIdxOf1stCharNIA"), a_char)
public final int getIdxOf1stCharNIA(StringBuffer str_buffer, char[] a_char, boolean b_validateAOC)
Get the array index of the first character that is not a member of the array.
getIdxOf1stCharNIA(getSOBSB(str_buffer, sUSB + "getIdxOf1stCharNIA"), a_char, 0, str_buffer.length(), b_validateAOC)
public final int getIdxOf1stCharNIA(StringBuffer str_buffer, char[] a_char, int i_idxStart, int i_idxAfterEnd)
Get the array index of the first character that is not a member of the array.
getIdxOf1stCharNIA(getSOBSB(str_buffer, sUSB + "getIdxOf1stCharNIA"), a_char, i_idxStart, i_idxAfterEnd)
public final int getIdxOf1stCharNIA(StringBuffer str_buffer, char[] a_char, int i_idxStart, int i_idxAfterEnd, boolean b_validateAOC)
Get the array index of the first character that does not exist in the array.
getIdxOf1stCharNIA(getSOBSB(str_buffer, sUSB + "getIdxOf1stCharNIA"), a_char, i_idxStart, i_idxAfterEnd, b_validateAOC)
public final int getIdxOfLastCharNIA(StringBuffer str_buffer, char[] a_char)
Get the array index of the last character that is not a member of the array.
getIdxOfLastCharNIA(getSOBSB(str_buffer, sUSB + "getIdxOfLastCharNIA"), a_char)
public final int getIdxOfLastCharNIA(StringBuffer str_buffer, char[] a_char, boolean b_validateAOC)
Get the array index of the last character that is not a member of the array.
getIdxOfLastCharNIA(getSOBSB(str_buffer, sUSB + "getIdxOfLastCharNIA"), a_char, 0, length(), b_validateAOC)
public final int getIdxOfLastCharNIA(StringBuffer str_buffer, char[] a_char, int i_idxStart, int i_idxAfterEnd)
Get the array index of the last character that is not a member of the array.
getIdxOfLastCharNIA(getSOBSB(str_buffer, sUSB + "getIdxOfLastCharNIA"), a_char, i_idxStart, i_idxAfterEnd)
public final int getIdxOfLastCharNIA(StringBuffer str_buffer, char[] a_char, int i_idxStart, int i_idxAfterEnd, boolean b_validateAOC)
Get the array index of the last character that does not exist in the array.
getIdxOfLastCharNIA(getSOBSB(str_buffer, sUSB + "getIdxOfLastCharNIA"), a_char, i_idxStart, i_idxAfterEnd, b_validateAOC)
public final StringBuffer getVisible(StringBuffer str_buffer)
Get a copy of the StringBuffer, where the contents' invisible characters are made visible.
((SOBStringBuffer)getVisible(getSOBSB(str_buffer, sUSB + "getVisible")).getStringBuffer()
public final void makeVisible(StringBuffer str_buffer)
Translate the contents of a StringBuffer, so all invisible characters are made visible.
Equal to makeVisible(getSOBSB(str_buffer, sUSB + "getVisible"))
public boolean isLetterDigitUnderscore(StringBuffer str_buffer)
Does the string contain only letters, digits and underscores?
isLetterDigitUnderscore(getSOBSB(str_buffer, sUSB + "isLetterDigitUnderscore"))
public boolean hasLettersOrInAOC(StringBuffer str_buffer, boolean b_digitsOkOpt, char[] ac_legal)
Does the string contain only letters and (other provided) legal characters?
hasLettersOrInAOC(getSOBSB(str_buffer, sUSB + "hasLettersOrInAOC"), b_digitsOkOpt, ac_legal)
public boolean hasLettersOrInAOC(StringBuffer str_buffer, boolean b_digitsOkOpt, char[] ac_legal, boolean b_validateAOC)
Does the string contain only letters and (other provided) legal characters?
hasLettersOrInAOC(getSOBSB(str_buffer, sUSB + "hasLettersOrInAOC"), b_digitsOkOpt, ac_legal, b_validateAOC)
public boolean hasDigitsOrInAOC(StringBuffer str_buffer, boolean b_lettersOkOpt, char[] ac_legal)
Does the string contain only digits and (other provided) legal characters?
hasDigitsOrInAOC(getSOBSB(str_buffer, sUSB + "hasDigitsOrInAOC"), b_lettersOkOpt, ac_legal)
public boolean hasDigitsOrInAOC(StringBuffer str_buffer, boolean b_lettersOkOpt, char[] ac_legal, boolean b_validateAOC)
Does the string contain only digits and (other provided) legal characters?
hasDigitsOrInAOC(getSOBSB(str_buffer, sUSB + "hasDigitsOrInAOC"), b_lettersOkOpt, ac_legal, b_validateAOC)
public boolean hasLDOrInAOC(StringBuffer str_buffer, char[] ac_legal)
Does the string contain only letters, digits and (other provided) legal characters?
hasLDOrInAOC(getSOBSB(str_buffer, sUSB + "hasLDOrInAOC"), ac_legal)
public boolean hasLDOrInAOC(StringBuffer str_buffer, char[] ac_legal, boolean b_validateAOC)
Does the string contain only letters, digits and (other provided) legal characters?
hasLDOrInAOC(getSOBSB(str_buffer, sUSB + "hasLDOrInAOC"), ac_legal, b_validateAOC)
public boolean hasLegalChars(StringBuffer str_buffer, char[] ac_legal)
Does the string contain only legal characters?
hasLegalChars(getSOBSB(str_buffer, sUSB + "hasLegalChars"), ac_legal)
public boolean hasLegalChars(StringBuffer str_buffer, char[] ac_legal, boolean b_validateAOC)
Does the string contain only legal characters?
isLegal(getSOBSB(str_buffer, sUSB + "hasLegalChars"), false, false, ac_legal, b_validateAOC)
public boolean isLegal(StringBuffer str_buffer, boolean b_lettersOkOpt, boolean b_digitsOkOpt, char[] ac_legal)
Does the string contain only legal characters?
isLegal(getSOBSB(str_buffer, sUSB + "isLegal"), b_lettersOkOpt, b_digitsOkOpt, ac_legal)
public boolean isLegal(StringBuffer str_buffer, boolean b_lettersOkOpt, boolean b_digitsOkOpt, char[] ac_legal, boolean b_validateAOC)
Does the string contain only legal characters?
isLegal(getSOBSB(str_buffer, sUSB + "isLegal"), b_lettersOkOpt, b_digitsOkOpt, ac_legal, b_validateAOC)
public boolean isNotLettersOrInAOC(StringBuffer str_buffer, boolean b_digitsBadOpt, char[] ac_legal)
Does the string not contain any letters or (other provided) illegal characters?
isNotLettersOrInAOC(getSOBSB(str_buffer, sUSB + "isNotLettersOrInAOC"), b_digitsBadOpt, ac_legal)
public boolean isNotLettersOrInAOC(StringBuffer str_buffer, boolean b_digitsBadOpt, char[] ac_legal, boolean b_validateAOC)
Does the string not contain any letters or (other provided) illegal characters?
isNotLettersOrInAOC(getSOBSB(str_buffer, sUSB + "isNotLettersOrInAOC"), b_digitsBadOpt, ac_legal, b_validateAOC)
public boolean isNotDigitsOrInAOC(StringBuffer str_buffer, boolean b_lettersBadOpt, char[] ac_legal)
Does the string not contain any digits or (other provided) illegal characters?
isNotDigitsOrInAOC(getSOBSB(str_buffer, sUSB + "isNotDigitsOrInAOC"), b_digitsBadOpt, ac_legal)
public boolean isNotDigitsOrInAOC(StringBuffer str_buffer, boolean b_lettersBadOpt, char[] ac_legal, boolean b_validateAOC)
Does the string not contain any digits or (other provided) illegal characters?
isNotDigitsOrInAOC(getSOBSB(str_buffer, sUSB + "isNotDigitsOrInAOC"), b_lettersBadOpt, ac_legal, b_validateAOC)
public boolean isNotLDOrInAOC(StringBuffer str_buffer, char[] ac_legal)
Does the string not contain any letters, digits or (other provided) illegal characters?
isNotLDOrInAOC(getSOBSB(str_buffer, sUSB + "isNotLDOrInAOC"), ac_legal)
public boolean isNotLDOrInAOC(StringBuffer str_buffer, char[] ac_legal, boolean b_validateAOC)
Does the string not contain any letters, digits or (other provided) illegal characters?
isNotLDOrInAOC(getSOBSB(str_buffer, sUSB + "isNotLDOrInAOC"), ac_legal, b_validateAOC)
public boolean hasNoIllegalChars(StringBuffer str_buffer, char[] ac_illegal)
Does the string not contain any illegal characters?
hasNoIllegalChars(getSOBSB(str_buffer, sUSB + "hasNoIllegalChars"), ac_illegal)
public boolean hasNoIllegalChars(StringBuffer str_buffer, char[] ac_illegal, boolean b_validateAOC)
Does the string not contain any illegal characters?
isNotIllegal(getSOBSB(str_buffer, sUSB + "hasNoIllegalChars"), false, false, ac_illegal, b_validateAOC)
public boolean isNotIllegal(StringBuffer str_buffer, boolean b_lettersBadOpt, boolean b_digitsBadOpt, char[] ac_illegal)
Does the string not contain any illegal characters?
isNotIllegal(getSOBSB(str_buffer, sUSB + "isNotIllegal"), b_lettersBadOpt, b_digitsBadOpt, ac_illegal)
public boolean isNotIllegal(StringBuffer str_buffer, boolean b_lettersBadOpt, boolean b_digitsBadOpt, char[] ac_illegal, boolean b_validateAOC)
Does the string not contain any illegal characters?
isNotIllegal(getSOBSB(str_buffer, sUSB + "isNotLegal"), b_lettersBadOpt, b_digitsBadOpt, ac_illegal, b_validateAOC)
public final SOBString getSOBS(StringBuffer str_buffer, String s_callingClsFnc)
Create an SOBString from the StringBuffer.
getSOBS(str_buffer, sUSB + "str_buffer", s_callingClsFnc)
public final SOBString getSOBS(StringBuffer str_buffer, String s_sbDesc, String s_callingClsFnc)
Create an SOBString from the StringBuffer.
str_buffer
- The StringBuffer to create a new SOBString with. May not be null.s_sDescription
- The descriptive name of str_buffer, for potential error messages.s_callingClsFnc
- The function from which the potential error message should appear as if it is coming from.(new SOBString(str_buffer.toString()))
public final SOBStringBuffer getSOBSB(StringBuffer str_buffer, String s_callingClsFnc)
Create an SOBStringBuffer from the StringBuffer.
getSOBSB(str_buffer, sUSB + "str_buffer", s_callingClsFnc)
public final SOBStringBuffer getSOBSB(StringBuffer str_buffer, String s_sbDesc, String s_callingClsFnc)
Create an SOBStringBuffer from the StringBuffer.
str_buffer
- The StringBuffer to create a new SOBStringBuffer with. May not be null.s_sDescription
- The descriptive name of str_buffer, for potential error messages.s_callingClsFnc
- The function from which the potential error message should appear as if it is coming from.(new SOBStringBuffer(str_buffer))
public final SOBString[] getAOSOBS(StringBuffer[] a_stringBuffer)
Get an array of SOBStrings from the array of StringBuffers.
a_stringBuffer
- The array of strings to create an array of SOBStrings from.public final SOBStringBuffer[] getAOSOBSB(StringBuffer[] a_stringBuffer)
Get an array of SOBStringBuffers from the array of StringBuffers.
a_stringBuffer
- The array of strings to create an array of SOBStringBuffers from.
|
|||||||||
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