Package com.uic.ase.proj.xbn.string

Examples of com.uic.ase.proj.xbn.string.SOBStringBuffer.substring()


          ssbLine.trim();
          ssbLine.delete(0, "import".length());
          ssbLine.trim();
          ssbLine.deleteCharAt(ssbLine.length() - ";".length());
          String sFQImportClass = ssbLine.toString();
          String sFQImportPkg = ssbLine.substring(0, sFQImportClass.lastIndexOf(sPD));

          if(b_crashIfSelfDependent  &&
               s_package.equals(sFQImportPkg))  {
            throwAX("getPackageDependencies:  Package '" + s_package + "' is dependent on itself, and b_crashIfSelfDependent equals true.  The class '" + sJavaFile + "' is importing '" + sFQImportClass + "'.");
          }
View Full Code Here


    else  {
      //This line contains an unescaped variable delimiter
      //and is therefore the first in a variable's value.

      sVarName = ssbLine.substring(0, iDelimActual);
      cDelimiter = ssbLine.charAt(iDelimActual);

      iVarStartLine = iLineNumber;
      sobVarStartName = new SOBString(sVarName);
      cVarStartDelim = cDelimiter;
View Full Code Here

          //the file.  All lines previous to it end with a
          //line separator.)

        else  {
          //The delimiter is followed by some whitespace.
          sVarValue = ssbLine.substring(iDelimActual + 1);
        }

      }  else  {
        //There are non-whitespace characters following the
        //delimiter.
View Full Code Here

        if(iDelimOther != -1)  {
          throwCFX(iwLine, iDelimOther, "A second unescaped variable delimiter was found");
        }

        //No other (unescaped) variable delimiters exist.
        String s = ssbLine.substring(iDelimActual + 1);

        String sPotentiallyNull = s.trim();
        if(sPotentiallyNull.equals(crlao.crc.getCRCVariable().getNullValue()))  {
          sVarValue = null;
          bValueNull = true;
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.