Examples of substring()


Examples of org.xhtmlrenderer.render.InlineText.substring()

        CalculatedStyle style = ilb.getStyle();
        if (containsWholeIlb) {
            offset = fndTxt.getEnd();
        } else {
            for (offset = fndTxt.getStart(); offset < fndTxt.getEnd(); offset++) {
                int w = getTextWidth(lc, style, txt.substring(fndTxt.getStart(), offset + 1));
                if (w + x + fndTxt.getX() > e.getX()) {
                    break;
                }

            }
View Full Code Here

Examples of pat.Regex.substring()

    String sClassFileContent = _getClassFile(_sMainClass);
    if (sClassFileContent == null) {
      return (String)null;    }
    Regex pRegex = new Regex("\\$Header: [^ ]*\\.java[^ ]* (\\d+\\.\\d+) ");
    pRegex.search(sClassFileContent);
    String sVersion = pRegex.substring(0);
    return sVersion;  }
  private String _getRcs() {
    String sRcs = "";
    if (Jacob3.Main.B_PRIVATE && (!_sMainClass.equals(""))) {
      sRcs = "\ncm : \n";
View Full Code Here

Examples of railo.transformer.util.CFMLString.substring()

        if(!cfml.forwardIfCurrent("*/")){
            cfml.setPos(pos);
            throw new TemplateException(cfml,"comment is not closed");
        }
        if(isDocComment) {
          String comment = cfml.substring(pos-2,cfml.getPos()-pos);
          data.docComment=docCommentTransformer.transform(comment);
        }
        return 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.