private static String getVersion ( ) { Properties properties = new Properties ( ) ; try ( InputStream ins = HttpRosetteAPI . class . getClassLoader ( ) . getResourceAsStream ( "version.properties" ) ) { properties . load ( ins ) ; } catch ( IOException e ) { // should not happen } return properties . getProperty ( "version" , "undefined" ) ; }
Returns the version of the binding .