All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.tsl2.nano.core.update.Updater.class Maven / Gradle / Ivy

Go to download

TSL2 Framework Html5 Extensions (WebServer, Html5Presentation, RuleCover, BeanConfigurator, LogicTable-Sheet, Expression-Descriptors for Actions, Rules, URLs, Queries)

There is a newer version: 2.5.2
Show newest version
????='
java/lang/Object()Vh5	

 de/tsl2/nano/core/update/UpdaterappNameLjava/lang/String;	
downloadURL	
currentVersion	

lastUpdateLjava/util/Date;	
dayIntervalI

 runK(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Z
"#$%&java/lang/Stringequals(Ljava/lang/Object;)Z

()*getVersionNo&(Ljava/lang/String;)Ljava/lang/String;,-.makeConcatWithConstants8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
01234de/tsl2/nano/core/util/FileUtilcopy'(Ljava/lang/String;Ljava/lang/String;)Z

678
versionUpdate9(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V:java/lang/Exception
9<=>toString()Ljava/lang/String;@-AJ(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
CDEFG de/tsl2/nano/core/log/LogFactorylog(Ljava/lang/Object;)V

IJKfindLastVersionUpdaterClass7(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Class;
MNOPQde/tsl2/nano/core/cls/BeanClasscreateInstance8(Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;S'de/tsl2/nano/core/update/IVersionRunnerUde/tsl2/nano/core/ENVRWX,(Lde/tsl2/nano/core/ENV;Ljava/lang/String;)V
Z[\getClass()Ljava/lang/Class;

^_`getVersionUpdaterClass7(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/String;
Mbcdload=(Ljava/lang/String;Ljava/lang/ClassLoader;Z)Ljava/lang/Class;	fghijjava/lang/SystemoutLjava/io/PrintStream;
9lm>
getMessage
opqrsjava/io/PrintStreamprintln(Ljava/lang/String;)V

uv*evalPreviousVersionx-*z-
|}~A!de/tsl2/nano/core/util/StringUtil	substring
?????java/lang/Class
getPackage()Ljava/lang/Package;
????>java/lang/PackagegetName
???>
getSimpleName
"???replace(CC)Ljava/lang/String;@?.
|??L(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZ)Ljava/lang/String;
|??K(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;
?????java/lang/IntegervalueOf'(Ljava/lang/String;)Ljava/lang/Integer;
????intValue()I
????(I)Ljava/lang/Integer;?-?9(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/String;

??4checkAndUpdate

???
hasToCheck(Ljava/util/Date;I)Z?-?%(Ljava/util/Date;I)Ljava/lang/String;
?????de/tsl2/nano/core/util/NetUtilisOnline()Z
???*get,

??*getDownloadURL?user.dir
f??*getenv
????download4(Ljava/lang/String;Ljava/lang/String;)Ljava/io/File;?#offline -> no update-check possible?java/lang/Throwable
?<x?Qmay be you should download and install the unlimited jce-policy files in your jdk?!http[s]?\:\/\/.*-standalone[.]jar
|???extract@(Ljava/lang/CharSequence;Ljava/lang/String;[I)Ljava/lang/String;
?????de/tsl2/nano/core/util/DateUtiladdDays#(Ljava/util/Date;I)Ljava/util/Date;?java/util/Date
?
????before(Ljava/util/Date;)ZCodeLineNumberTableLocalVariableTablethis"Lde/tsl2/nano/core/update/Updater;J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Date;I)V9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Z
configFile
newVersionenvironmentLjava/lang/Object;eLjava/lang/Exception;vovn
StackMapTablenewVersionNumberupdClassLjava/lang/Class;LocalVariableTypeTable;
versionNumber	Signatureb(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Class;txtclsversion&Ljava/lang/Class<+Ljava/lang/Object;>;L(Ljava/lang/Class<+Ljava/lang/Object;>;Ljava/lang/String;)Ljava/lang/String;nLjava/lang/Integer;VpartvLjava/lang/Throwable;
versionURL
SourceFileUpdater.javaBootstrapMethods
-$java/lang/invoke/StringConcatFactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;.NOTHING TO DO:  ->  ()-.update.Update+Updater: next update not before:  +  daysupdating tsl2.nano:  ->  .UPDATE-ERROR: couldn't download new version: InnerClasses#%java/lang/invoke/MethodHandles$Lookup%java/lang/invoke/MethodHandlesLookup!


?=*?*?	??%
&??????&*?*?	*+?	*,?*-?*?*???"(
)*+,-%.?>&??&
&&&&??T*+*?,-???1?*?????? ?K,?H-?D,-?!?<*,?':*-?':++?+?/W*,?5?:,-?;???B??569?*
IJKM+O4P6Q8SGTIW?R8??2?+?K??K?KK?K???$?6
"""""9?78??$*+-?H:???L?R+?T,?V??ab
c#d?4$??$??$$????????#?JK??-N*+?Y,?]?aN?:?e?k?n*+,?t?HN-?9?gimjk!l+n?4??-??-??-?+???+????
"?9??)*?D+*?	?wy?{??r????_`?i+????+??,.v??????v? ???????v*??C?L*N-???YM?1-???N,??:??????-??d??Y:?????&	z{}~"?*?-?A??4"C@3>?%?""?'""""?????7
**?*???????
???4?`*?*????*?*????B????@,??N*+?':*-?':?!?!???B*-??:¸ĸ?W?˸B?N-?Ϻ??BѸB? bk?chk??J??? ?&?+?2?9?C?O?V?a?c?h?k?l?x?}??RV+8?21?9*?l???	? ?@"""?G??*?>
+??
?հ???
??
?	???\*?*?ٻ?Y?????????@
,






!
"$&




© 2015 - 2024 Weber Informatics LLC | Privacy Policy