Package pat

Examples of pat.Regex


    return _getClassFile(Package.getPackageName(sFullClassName_),                  Package.getClassName(sFullClassName_))}
  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;  }
View Full Code Here

TOP

Related Classes of pat.Regex

Copyright © 2018 www.massapicom. 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.