Package com.uic.ase.proj.xbn.array.primitive

Examples of com.uic.ase.proj.xbn.array.primitive.PACChar.crashIfBad()


    @param  c_mlcEnd  The character used to delimit the end of a multi-line comment.  May not equal c_mlcStart or c_singleLineCmt.  See <A HREF="#getMLCEnd()">getMLCEnd</A>.
    @param  c_singleLineCmt  The character used to delimit the start of a single-line comment.  May not equal c_mlcStart or c_mlcEnd.  See <A HREF="#getSingleLineCmt()">getDelimSL</A>.
   **/
  public CRCDelimiters(char[] ac_varDelims, char c_mlcStart, char c_mlcEnd, char c_singleLineCmt)  {
    PACChar pacc = new PACChar(ac_varDelims, new PARCStrict(new PAROrderDir(true), UtilChar.getAOCInvisible()));
    pacc.crashIfBad("xbn.config.CRCDelimiters.constructor", "ac_varDelims");
    apcVarDelims = new APChar(ac_varDelims, true);

    ZCICharErr cice = new ZCICharErr();
    cice.ciInvisible(c_mlcStart, "c_mlcStart");
    cice.ciInvisible(c_mlcEnd, "c_mlcEnd");
View Full Code Here


  public final void crashIfAOCNotUnqAscOrd(String s_callingClsFnc, char[] a_char, String s_acDesc, boolean b_actuallyCheck)  {
    throwAXIfNull(s_callingClsFnc, "s_callingClsFnc", "crashIfAOCNotUnqAscOrd");

    if(b_actuallyCheck)  {
      PACChar pacc = new PACChar(a_char, (new PARCStrict(new PAROrderDir(true))));
      pacc.crashIfBad(s_callingClsFnc, s_acDesc);
    }
  }

  /**
    <P>Get an array of chars containing the tab and space characters.</P>
View Full Code Here

    PACChar pacc = new PACChar(ac_toEscape,
      new PARChar(
        new PARDupNullLen(false),
        new PAROrderDir(true),
        new char[] {c_escape}));
    pacc.crashIfBad("xbn.string.escape.UnescapeString.constructor", "ac_toEscape");

    cEsc = c_escape;
    sEsc = (new Character(cEsc)).toString();
    acToEscape = ac_toEscape;
    apcToEscape = new APChar(ac_toEscape);
View Full Code Here

    @param  b_validateParams  If true, then all documented parameter restrictions are checked, and an <A HREF="~JD~ax~EJD~">AssertException</A> is thrown when any violation is found.  When false, be darn-tooting sure the parameters coform to documented restrictions.
   **/
  public TrimChars(char[] ac_toTrim, TALConfig tal_config, boolean b_checkRightForEsc, char c_escape, boolean b_validateParams)  {
    if(b_validateParams)  {
      PACChar pacc = new PACChar(ac_toTrim, (new PARCStrict(new PAROrderDir(true))));
      pacc.crashIfBad(sT + sCNSTR, "ac_toTrim");

      try  {
        if(!uStr.hasNoIllegalChars(tal_config.getLineSeparator(), ac_toTrim))  {
          throwAX("constructor:  tal_config.getLineSeparator() ('" + (new UtilString()).getVisible(tal_config.getLineSeparator()) + "') has at least one character that also exists in ac_toTrim:  " + (new APChar(acToTrim)).getList("['", "', '", "']"));
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.