public static String getVersion ( InputStream is ) { try { String text = readAsString ( is ) ; return getVersionFromText ( text ) ; } catch ( IOException e ) { LOG . error ( e . getMessage ( ) , e ) ; return null ; } }
Get report version from input stream to read report file