Examples of UtilString


Examples of com.uic.ase.proj.xbn.string.UtilString

  }

  private ACSDepends analyzeDependencies(ACSDepends acs_depends, Outputter optr_dbg, DirFile dir_file, String s_package, int i_idxSlashB4Pkg, VWString acs_acceptPre, boolean b_crashIfSelfDependent, SOBStringBuffer sob_sb, UtilSOB util_sob)  {
    sob_sb.deleteAll();

    String sDebugPre = "   " + (new UtilString()).getDuped("   ", dir_file.getLevelsBelowBaseDir());

    for(int i = 0; i < dir_file.getCountSubFiles(); i++)  {
      File f = dir_file.getSubFile(i).getFileObjectThis();
      //"- 5" for ".java"
      String sJavaFile = f.getName().substring(0, f.getName().length() - 5);
View Full Code Here

Examples of com.uic.ase.proj.xbn.string.UtilString

  /**
    <P>Get some information about this OConfig object.</P>
   **/
  public String toString()  {
    return "OConfig:  " + (new UtilString()).getConditional("getName()=", sName, ", ") + "isOn()=" + isOn() + ", [" + getMsgFormat().toString() + "]";
  }
View Full Code Here

Examples of com.uic.ase.proj.xbn.string.UtilString


    if(o_utputter.getOConfig().isOn()  &&
      getFileObjThis().isDirectory())  {
      //Don't waste the time unless debugging is specifically requested...
      String sDebugPfx = (new UtilString()).getDuped("   ", getLevelsBelowBaseDir());
      o_utputter.newln();
      o_utputter.writeNoln(true, sDebugPfx + getFileObjThis().getName());
    }
    analyzeThisDirectory(file_filter, o_utputter);
  }
View Full Code Here

Examples of com.uic.ase.proj.xbn.string.UtilString

    throwAXIfNull(gap_config, "gap_config", sCNSTR);
    throwAXIfNull(euscu_ignore, "euscu_ignore", sCNSTR);
    throwAXIfNull(optr_dbg, "optr_dbg", sCNSTR);

    if((new UtilChar()).isInvisible(gap_config.getTagDelimiter()))  {
      throwAX("constructor:  gap_config.getTagDelimiter() ('" + (new UtilString()).getVisible(gap_config.getTagDelimiter() + sES) + "') is a whitespace character.");
    }

    if(euscu_ignore.isSpcfcIgnored(gap_config.getTagDelimiter()))  {
      throwAX("constructor:  gap_config.getTagDelimiter() ('" + gap_config.getTagDelimiter() + "') is an ignored character.  In other words, euscu_ignore.isSpcfcIgnored(gap_config.getTagDelimiter()) equals true.");
    }
View Full Code Here

Examples of com.uic.ase.proj.xbn.string.UtilString

  private void throwTFX(int i_charArrIdx, String s_errorMsg) throws TemplateFormatException  {
    String sCAI = sES;
    if(i_charArrIdx > -1)  {
      sCAI = ":" + getCharArrIdx(i_charArrIdx);
    }
    String sError = "[" + (new UtilString()).getConditional(sES, getTemplateName(), ":") + getLineNumber() + sCAI + "]  " + s_errorMsg + "\nEXTRA INFORMATION:\nGap start tag:  '" + tlao.sTagStart + "'\nGap end tag:    '" + tlao.sTagEnd + "'\nRemaining text on the line (the first character in these remaining contents is array index " + getCharArrIdx() + " of the overall/original line of text):\n--------------\n'" + tlao.sbLine.toString() + "'\n--------------";
    initialize();
    throw new TemplateFormatException(sError);
  }
View Full Code Here

Examples of com.uic.ase.proj.xbn.string.UtilString

  }
  public int getActualLength()  {
    return sob.length();
  }
  public String toString()  {
    return "  [length()=" + length() + ", getActualLength()=" + getActualLength() + "), getIdx1stNonWS()=" + getIdx1stNonWS() + ", getIdxAfterLastNonWS()=" + getIdxAfterLastNonWS() + ", the string='" + uSOB.getVisible(sob) + "', without surrounding whitespace:  '" + (new UtilString()).getVisible(substring(0)) + "']";
  }
View Full Code Here

Examples of com.uic.ase.proj.xbn.string.UtilString

  private int actuallyReport(DirFile dir_file, boolean b_printXOnTheFly, StringBuffer sb_errors, JDCArray jdc_array, boolean b_cibJDLCTarget, boolean b_ignoreIndirectJDLCs, Outputter optr_dbg, VWString acs_uniqueGapNames, String s_pkgPrefix, String s_sourceCodeBaseDir, String s_relUrlJDToCodeBases, StringBuffer sb_sclReport)  {
    final String sERR_2CHOPUP2 = getXMsgPrefix() + sUD + "crashIfBadTarget:  ";
    int iErrors = 0;

    String sDebugPfx = "   " + (new UtilString()).getDuped("   ", dir_file.getLevelsBelowBaseDir());

    iFiles += dir_file.getCountSubFiles();

    for(int i = 0; i < dir_file.getCountSubFiles(); i++)  {
      File fThis = dir_file.getSubFile(i).getFileObjectThis();
View Full Code Here

Examples of com.uic.ase.proj.xbn.string.UtilString

  /**
    <P>Get some information about this PadChopString.</P>
   **/
  public String toString()  {
    UtilString uStr = new UtilString();

    String sPCSC = null;
    if(getSpcfcCfgChop() == null)  {
      sPCSC = "getSpcfcCfgChop()=null";
    else  {
      sPCSC = uStr.getConditional("[", getSpcfcCfgChop().toString(), "]");
    }

    String sSpcfcCfg = null;
    if(getSpcfcCfgPad() == null)  {
      sSpcfcCfg = "getSpcfcCfgPad()=null";
    else  {
      sSpcfcCfg = uStr.getConditional("[", getSpcfcCfgPad().toString(), "]");
    }

    return this.getClass().getName() + ":  getLength()=" + getLength() + ", " + sPCSC + ", " + sSpcfcCfg + ", [" + getSpcfcCfgIfNull().toString() + "]";
  }
View Full Code Here

Examples of com.uic.ase.proj.xbn.string.UtilString

      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("['", "', '", "']"));
        }
      }  catch(NullPointerException npx)  {
        throwAX("constructor:  tal_config is null.");
      }
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.