de.tsl2.nano.core.update.Updater.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.terminal Show documentation
Show all versions of tsl2.nano.terminal Show documentation
TSL2 Framework Terminal (Console Application Framework named SIShell, providing Actions, Options, Commands, Inputs, lots of Selectors, PlatformManagement)
???? 4 ?
? ? C ? C ? C ? C ? C ?
C ?
? ? ?
? ?
? ?
?
? ?
C ? ?
? ?
C ? ? ? ? ?
? ?
?
C ?
? ? ?
? ? ? ? ?
? ?
? ?
? ? ?
? ? ?
? ?
C ?
C ? ?
? ?
? ?
? ?
? ? ?
C ? ?
? ?
? ? ? ? ?
9 ? ? ?
? ?
? ? ?
@ ?
@ ? ? appName Ljava/lang/String; downloadURL currentVersion
lastUpdate Ljava/util/Date; dayInterval I ()V Code LineNumberTable LocalVariableTable this "Lde/tsl2/nano/core/update/Updater; J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Date;I)V run 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Z
configFile
newVersion environment Ljava/lang/Object; K(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Z e Ljava/lang/Exception; vo vn
StackMapTable ? ? ? ?
versionUpdate 9(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V newVersionNumber updClass Ljava/lang/Class; LocalVariableTypeTable 'Ljava/lang/Class; getVersionNo &(Ljava/lang/String;)Ljava/lang/String; txt getVersionUpdaterClass 7(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/String; cls version &Ljava/lang/Class<+Ljava/lang/Object;>; Signature L(Ljava/lang/Class<+Ljava/lang/Object;>;Ljava/lang/String;)Ljava/lang/String; checkAndUpdate ()Z '(Ljava/lang/String;Ljava/lang/String;)Z Ljava/lang/Throwable;
versionURL ? getDownloadURL
hasToCheck (Ljava/util/Date;I)Z
SourceFile Updater.java L M h5 D E F E G E H I J K T Z ? ? ? java/lang/StringBuilder VERSION CHANGED: ? ? -> ? ? ? ? ? k l . ? ? w d e
VERSION NOW: java/lang/Exception NOTHING TO DO: ( ) ? ? n o ? ? ? java/lang/Object ? ? java/lang/Runnable T M - ? ? ? ? ? ? ? ? ? .update. ? ? Update ? ? u w | } !Updater: next update not before: ? ? + ? ? days ? ? v ? l updating tsl2.nano: { l user.dir ? ? l ? ? #offline -> no update-check possible java/lang/Throwable -UPDATE-ERROR: couldn't download new version: Qmay be you should download and install the unlimited jce-policy files in your jdk !http[s]?\:\/\/.*-standalone[.]jar ? ? ? ? ? java/util/Date ? ? de/tsl2/nano/core/update/Updater java/lang/String equals (Ljava/lang/Object;)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; de/tsl2/nano/core/log/LogFactory log (Ljava/lang/Object;)V de/tsl2/nano/core/util/FileUtil copy getClass ()Ljava/lang/Class; de/tsl2/nano/core/cls/BeanClass load =(Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Class; createInstance 8(Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; !de/tsl2/nano/core/util/StringUtil substring J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; java/lang/Class
getPackage ()Ljava/lang/Package; java/lang/Package getName
getSimpleName replace (CC)Ljava/lang/String; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; de/tsl2/nano/core/util/NetUtil isOnline get java/lang/System getenv download 4(Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; extract @(Ljava/lang/CharSequence;Ljava/lang/String;[I)Ljava/lang/String; de/tsl2/nano/core/util/DateUtil addDays #(Ljava/util/Date;I)Ljava/util/Date; before (Ljava/util/Date;)Z ! C D E F E G E H I J K L M N = *? *? ? O $
% P Q R L S N ? &*? *? *+? *,? *-? *? *? ? O " '
( ) * + , % - P > &