Package pat

Examples of pat.Regex.search()


  private String _getRcsVersion() {
    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(""))) {
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.