Examples of PACChar


Examples of com.uic.ase.proj.xbn.array.primitive.PACChar

    <P>Get a new PACChar wrapping around the char-array-being-protected.</P>

    @return  <CODE>(new <A HREF="~JD~pacc#pacc(c[],b)~EJD~">PACChar</A>(<A HREF="#getAOCClone()">getAOCClone</A>(), true))</CODE>
   **/
  public final PACChar getPACChar()  {
    return (new PACChar(getAOCClone(), true));
  }
View Full Code Here

Examples of com.uic.ase.proj.xbn.array.primitive.PACChar

    <P>Append a list of characters onto the provided StringOrBuffer.</P>

    <P>Equal to <CODE><A HREF="~JD~append(sob,pa)~EJD~">append</A>(str_orBfr, (new <A HREF="~JD~pacc#pacc(c[])~EJD~">PACChar</A>(a_char)))</CODE></P>
   **/
  public void append(StringOrBuffer str_orBfr, char[] a_char)  {
    append(str_orBfr, (new PACChar(a_char)));
  }
View Full Code Here

Examples of com.uic.ase.proj.xbn.array.primitive.PACChar

    @param  c_mlcStart  The character used to delimit the start of a multi-line comment.  May not equal c_mlcEnd or c_singleLineCmt.  See <A HREF="#getMLCStart()">getMLCStart</A>.
    @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");
    cice.ciInvisible(c_singleLineCmt, "c_singleLineCmt");

    VWChar vwc = new VWChar();
    vwc.addArray(ac_varDelims);
    vwc.add(c_mlcStart);
    vwc.add(c_mlcEnd);
    vwc.add(c_singleLineCmt);

    char[] ac = vwc.getAOChar();

    pacc = new PACChar(ac, new PARCStrict());
    if(!pacc.isValid())  {
      throwAX("constructor:  ac_varDelims (['" + apcVarDelims.getList("', '") + "']) is valid.  However, all characters in ac_varDelims, along with c_mlcStart ('" + c_mlcStart + "'), c_mlcEnd ('" + c_mlcEnd + "') and c_singleLineCmt ('" + c_singleLineCmt + "'), must be unique.");
    }

    cMLCStart = c_mlcStart;
    cMLCEnd = c_mlcEnd;
View Full Code Here

Examples of com.uic.ase.proj.xbn.array.primitive.PACChar

   **/
  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);
    }
  }
View Full Code Here

Examples of com.uic.ase.proj.xbn.array.primitive.PACChar

    @param  c_escape  The escape character.
    @param  ac_toEscape  The array of charcters that can be escaped by c_escape (in addition to c_escape).  Must be non-null.  If at least one element in length, it must be ordered ascending, and its elements must be unique and not equal to c_escape.  If zero elements in length, then c_escape may only escape itself.
   **/
  public ESConfig(char c_escape, char[] ac_toEscape)  {
    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

Examples of com.uic.ase.proj.xbn.array.primitive.PACChar

    @param  c_escape  The escape character, when b_checkRightForEsc is true (this may not equal any member of ac_toTrim).  When b_checkRightForEsc equals false, this must equal ' '.  See <a href="#getEscapeChar()">getEscapeChar</a>.
    @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.