org.apache.openjpa.lib.util.svn
Class SVNUtils

java.lang.Object
  extended by org.apache.openjpa.lib.util.svn.SVNUtils

public class SVNUtils
extends Object


Constructor Summary
SVNUtils()
           
 
Method Summary
static int svnInfoToInteger(String svninfo)
          A public worker method that takes the output from running the svnversion command and parses the trailing integer version out.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVNUtils

public SVNUtils()
Method Detail

svnInfoToInteger

public static int svnInfoToInteger(String svninfo)
A public worker method that takes the output from running the svnversion command and parses the trailing integer version out. For example: 959691:959709M would return 959709

Parameters:
svninfo -
Returns:
The formatted int version, or -1 if svninfo is null or unparsable.


Copyright © 2006–2013 Apache Software Foundation. All rights reserved.