com.groupbyinc.flux.common.http.util.VersionInfo.class Maven / Gradle / Ivy
???? 2 ? 0com/groupbyinc/flux/common/http/util/VersionInfo java/lang/Object VersionInfo.java UNAVAILABLE Ljava/lang/String; VERSION_PROPERTY_FILE version.properties
PROPERTY_MODULE info.module
PROPERTY_RELEASE info.release PROPERTY_TIMESTAMP info.timestamp infoPackage
infoModule infoRelease
infoTimestamp infoClassloader ](Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V ()V
Package identifier )com/groupbyinc/flux/common/http/util/Args ! notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; # $
" % ' java/lang/String ) + - / 1 this 2Lcom/groupbyinc/flux/common/http/util/VersionInfo; pckg module release time clsldr
getPackage ()Ljava/lang/String; getModule
getRelease getTimestamp getClassloader toString java/lang/StringBuilder A length ()I C D
* E (I)V G
B H VersionInfo( J append -(Ljava/lang/String;)Ljava/lang/StringBuilder; L M
B N (C)Ljava/lang/StringBuilder; L P
B Q equals (Ljava/lang/Object;)Z S T
* U @ ;
B W sb Ljava/lang/StringBuilder; loadVersionInfo _([Ljava/lang/String;Ljava/lang/ClassLoader;)[Lcom/groupbyinc/flux/common/http/util/VersionInfo; Package identifier array ] java/util/ArrayList _
` H [Ljava/lang/String; b java/lang/ClassLoader d java/util/List f ](Ljava/lang/String;Ljava/lang/ClassLoader;)Lcom/groupbyinc/flux/common/http/util/VersionInfo; [ h
i add k T g l size n D g o toArray (([Ljava/lang/Object;)[Ljava/lang/Object; q r g s 3[Lcom/groupbyinc/flux/common/http/util/VersionInfo; u vi arr$ len$ I i$ pckgs Ljava/lang/ClassLoader; vil DLjava/util/List; Ljava/util/List; java/io/IOException ? java/lang/Thread ?
currentThread ()Ljava/lang/Thread; ? ?
? ? getContextClassLoader ()Ljava/lang/ClassLoader; ? ?
? ?
B replace (CC)Ljava/lang/String; ? ?
* ? / ? getResourceAsStream )(Ljava/lang/String;)Ljava/io/InputStream; ? ?
e ? java/util/Properties ?
? load (Ljava/io/InputStream;)V ? ?
? ? java/io/InputStream ? close ?
? ? java/lang/Throwable ? fromMap l(Ljava/lang/String;Ljava/util/Map;Ljava/lang/ClassLoader;)Lcom/groupbyinc/flux/common/http/util/VersionInfo; ? ?
? props Ljava/util/Properties; is Ljava/io/InputStream; ex Ljava/io/IOException; cl vip result
java/util/Map ? get &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? ${pom.version} ? ${mvn.timestamp} ?
W
? info Ljava/util/Map<**>; Ljava/util/Map; timestamp clsldrstr getUserAgent I(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/String; java/lang/Class ? getClassLoader ? ?
? ? = ;
? java.version ? java/lang/System ? getProperty &(Ljava/lang/String;)Ljava/lang/String; ? ?
? ? %s/%s (Java/%s) ? format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; ? ?
* ? name pkg cls Ljava/lang/Class<*>; Ljava/lang/Class; javaVersion
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable Signature p(Ljava/lang/String;Ljava/util/Map<**>;Ljava/lang/ClassLoader;)Lcom/groupbyinc/flux/common/http/util/VersionInfo; L(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class<*>;)Ljava/lang/String;
SourceFile !
? ? ? ? ? ? q M*? + ? &W*+? (*,? ,? ? ,*-? -? ? .*? ? ? 0*? ? ? 2? ? > M 3 4 M 5 M 6 M 7 M 8 M 9 ? " Z [ \ ] ^ , _ <