ch.hortis.sonar.web.utils
Class Version

java.lang.Object
  extended by ch.hortis.sonar.web.utils.Version

public final class Version
extends java.lang.Object


Field Summary
protected static java.lang.String version
           
 
Method Summary
static java.lang.String getVersion()
           
protected static java.lang.String getVersion(java.lang.String pomFilename)
           
protected static java.lang.String readVersion(java.io.InputStream pomFileStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

protected static java.lang.String version
Method Detail

getVersion

public static java.lang.String getVersion()
                                   throws java.io.IOException
Throws:
java.io.IOException

getVersion

protected static java.lang.String getVersion(java.lang.String pomFilename)
                                      throws java.io.IOException
Throws:
java.io.IOException

readVersion

protected static java.lang.String readVersion(java.io.InputStream pomFileStream)
                                       throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2008 SonarSource SA. All Rights Reserved.