de.tsl2.nano.core.ENV.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?
G? ??
? ? ?
? 8???
]?
]?
]?
]?
??
???
??
j??
w??
?
??
??
?
???????
]???
?
??
?
????
???
????
?
??
??
???
8?
8?
??
??
?
>?
?
j?
??
?????
??
??
>? ? ? ??
]?
??
?
8??
??
???
???
??
????
??
]???
???
???
f????
f????
?
8?
>?
?
?
8
8
?
?
??
!"#$%
??&
?'(
?)
?*
?+
?,
-./
??
01
G2
j3
j45
]67?
89
:;<
?=>
?@
?ABCDE
?? F ?
GHI
?)
GJ
?K
LM
?N
OP
Q ??R
ST
:UVW
XYZ
X[\]^
??
?_
X`
Xa bcd
?e
?fg
?h
ji
]j
?k
lm
no
4p
]qr
s
tu
?vw
?xy
>z
]{
?|
?}
~
8?
??
???
? ?
????
X?
??
??
??
?
??
??
??
?
?
??
??
?
??
??
???
]?
?
8?
84
8?
??U?
8????
??
?
??
8?
???
??M?
???
'?
??????????????
????
f?
f? ??
???
??
???
G?????
??
??U? R?
F???????
?
??????
??
0?
j?
??
???U?U?U?U? ??
j?
?4? ???? InnerClasses serialVersionUID J
ConstantValueS\j?=о PATH_TEMP Ljava/lang/String; self Lde/tsl2/nano/core/ENV;
properties Ljava/util/SortedMap; RuntimeVisibleAnnotations $Lorg/simpleframework/xml/ElementMap; entry property key name attribute inline required keyType valueType Ljava/lang/Object; services Ljava/util/Map; Signature 7Ljava/util/Map;Ljava/lang/Object;>; service interface Ljava/lang/Class; autopersist Z loggers ELjava/util/Map;Lorg/apache/commons/logging/Log;>; FRAMEWORK PREFIX KEY_SYS_BASEDIR KEY_DEFAULT_FORMAT KEY_CONFIG_RELPATH KEY_CONFIG_PATH CONFIG_NAME
KEY_BUILDINFO KEY_TESTMODE DEF_PATHSEPRATOR UNKNOWN_BUILD_INFORMATIONS PREFIX_ENVNAME ()V Code LineNumberTable LocalVariableTable this getName ()Ljava/lang/String; path
StackMapTable? getBuildInformations bi Ljava/util/Properties; biStream Ljava/io/InputStream; e Ljava/lang/Exception; buildInfo???? get %(Ljava/lang/Class;)Ljava/lang/Object;
newService s LocalVariableTypeTable TT; Ljava/lang/Class;?? 1(Ljava/lang/Class;)TT; isAvailable ()Z ()Lde/tsl2/nano/core/ENV; create +(Ljava/lang/String;)Lde/tsl2/nano/core/ENV; dir layer 0Lde/tsl2/nano/core/execution/CompatibilityLayer;
configFile Ljava/io/File; exceptionHandler .Lde/tsl2/nano/core/exception/ExceptionHandler;?? update #(Ljava/io/File;Ljava/lang/String;)V
versionURL currentVersion updater "Lde/tsl2/nano/core/update/Updater;"
getConfigFile ()Ljava/io/File; 4(Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; ext createPropertyMap ()Ljava/util/SortedMap; ()Ljava/util/Map; 9()Ljava/util/Map;Ljava/lang/Object;>;
addService &(Ljava/lang/Object;)Ljava/lang/Object; interfaze (TT;)TT; 7(Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object; 4(Ljava/lang/Class;TT;)TT; reset deleteEnvironment config done &(Ljava/lang/String;)Ljava/lang/Object; 8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; defaultValue sysValue value 0(Ljava/lang/String;TT;)TT; counter 8(Ljava/lang/String;Ljava/lang/Number;)Ljava/lang/Number; diff Ljava/lang/Number; 0(Ljava/lang/String;TT;)TT; getProperty &(Ljava/lang/String;)Ljava/lang/String;
getProperties setProperty '(Ljava/lang/String;Ljava/lang/Object;)V
setProperties (Ljava/util/SortedMap;)V
removeService (Ljava/lang/Class;)V clazz Ljava/lang/Class<*>; (Ljava/lang/Class<*>;)V registerBundle (Ljava/lang/String;Z)V
bundlePath head bundle Ljava/util/ResourceBundle; translate :(Ljava/lang/Object;Z[Ljava/lang/Object;)Ljava/lang/String; optional args [Ljava/lang/Object; format &(Ljava/lang/Object;)Ljava/lang/String; obj formatter
getConfigPath %(Ljava/lang/Class;)Ljava/lang/String; type ((Ljava/lang/Class<*>;)Ljava/lang/String; getConfigPathRel getTempPath getTempPathRel getTempPathURL getApplicationMainPackage pck load 7(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object; C(Ljava/lang/String;Ljava/lang/Class;)TT; 8(Ljava/lang/String;Ljava/lang/Class;Z)Ljava/lang/Object;
renameOnError D(Ljava/lang/String;Ljava/lang/Class;Z)TT; cleanpath save
isAutopersist setAutopersist (Z)V persist (Ljava/lang/Object;)V isPersisted tempProperties tempServices
configPath??? reload envDir assignClassloaderToCurrentThread cl Ljava/lang/ClassLoader; #assignENVClassloaderToCurrentThread 1(Lde/tsl2/nano/core/classloader/LibClassLoader;)V .Lde/tsl2/nano/core/classloader/LibClassLoader; TCL; :(TCL;)V getResource )(Ljava/lang/String;)Ljava/io/InputStream; fileName classLoader getSortedProperties *(Ljava/lang/String;)Ljava/util/Properties; rc rcFile p
saveBackup (Ljava/lang/String;)V environmentFile extractResourceToDir '(Ljava/lang/String;Ljava/lang/String;)Z resourceName destinationDir *(Ljava/lang/String;Ljava/lang/String;ZZZ)Z flat
executable logError destName extractResource (Ljava/lang/String;ZZZ)Z (Ljava/lang/String;ZZ)Z (Ljava/lang/String;Z)Z (Ljava/lang/String;)Z )(Ljava/lang/String;Ljava/lang/String;ZZ)Z res destFile file loadJarDependencies '([Ljava/lang/String;)Ljava/lang/Object; i I dependencyNames [Ljava/lang/String;
nestedJars environmentJars [Ljava/io/File;
availableJars Ljava/util/Collection; unresolvedDependencies Ljava/util/List; *Ljava/util/Collection; $Ljava/util/List;P?? getPackagePrefix mvnNamePart loadClassDependencies loadDependencies result foreignDependencies clsJarResolver
isTestMode isDebugEnabled (Ljava/lang/Class;)Z cls (Ljava/lang/Class<*>;)Z initSerialization keyIt Ljava/util/Iterator; keySet Ljava/util/Set; unserializableProperties serviceKeys unserializableServices Ljava/util/Iterator<*>; #Ljava/util/Set; $Ljava/util/List; %Ljava/util/Set;>;?? &Lorg/simpleframework/xml/core/Persist; createServiceMap isNotSerializable (Ljava/lang/Object;)Z logger 4(Ljava/lang/Object;)Lorg/apache/commons/logging/Log; caller log Lorg/apache/commons/logging/Log;? error '(Ljava/lang/Object;Ljava/lang/Object;)V item warn info debug trace
SourceFile ENV.java !Lorg/simpleframework/xml/Default; %Lorg/simpleframework/xml/DefaultType; FIELD???? java/util/HashMap?}jk??i de/tsl2/nano/core/ENV /????????????? tsl2.nano.build.informations ?? build-tsl2.nano.h5.properties+ java/util/Properties java/lang/StringBuilder
build.name -
build.version build.number
build.time true build.debugw -d ?? i
??
java/lang/Exception|???? no service found for ? available services:
.xml java/io/File?4?j? loading service from ? #de/tsl2/nano/core/serialize/XmlUtil?????c trying to create service through default construction java/lang/Object?? java/io/Serializable?lm|}?i user.dir?? ??? .nanoh5.? !" .log#$4 /logfactory.xml%4?? =
===========================================================
java/lang/String tsl-logo.txt&'?( creating environment
)*? ;==========================================================={ .de/tsl2/nano/core/execution/CompatibilityLayer ant !de.tsl2.nano.execution.ScriptUtil java/lang/Class+, antbuild reflectionToString #de.tsl2.nano.format.ToStringBuilder??-?. .yml/??u? java/lang/ClassLoader0123?i?456? \?7??i messages?? messages.properties8C $de/tsl2/nano/core/execution/Profiler9: ,de/tsl2/nano/core/exception/ExceptionHandler;< )java/lang/Thread$UncaughtExceptionHandler UncaughtExceptionHandler?? 8 --> no version update check? app.update.url Mhttps://sourceforge.net/projects/tsl2nano/files/latest/download?source=navbar?? app.version 0.0.0 de/tsl2/nano/core/update/Updater h5 app.update.last java/util/Date app.update.interval.days=> java/lang/Integer???@A7BC?? environment java/util/TreeMapDEFGHIJ?? java.langKC java.io adding service ' ' with implementation LM? $no environment active to be deleted!NO couldn't delete environment PQcRS "java/lang/IllegalArgumentException system property = cannot be converted to TwUVc java/lang/NumberWcXYZ=[\]^=_?`?abcde registering resource bundle ' 'f?g java/lang/Enumhi java/lang/CharSequence [\w\.\:\\/]+ de/tsl2/nano/core/ENV$1jklmh??i $de/tsl2/nano/core/util/DefaultFormat java/text/Formatnop Oenvironments default formatter must be an instance of java.text.Format but is: ??q?r? temp/? app.main.package?? org.nano .s? FWARNING: no 'app.main.package' defined in environment! using default: ? app.configuration.persist.yaml=t java/lang/Booleanu? $de/tsl2/nano/core/serialize/YamlUtilvwxCyz?{? java/util/Hashtable????|}?~?? 0de/tsl2/nano/core/classloader/NetworkClassLoader??%&??4!? de/tsl2/nano/core/ENV$2 java/io/FileReader???????]??76: .destination??? ar?C?:x???xy extracting resource ??? java/lang/IllegalStateException the resource ' 1' of our main-jar-file is not available or empty! java/io/FileOutputStream??????
getNestedJars?? .*[.]jar?? java/util/ArrayList???????
?wvw?????]I nothing to do! $de.tsl2.nano.jarresolver.JarResolver
getPackageB??C?i classloader.usenetwork.loader??? resolving dependencies: ???4 install FAILED couldn't resolve dependencies:
dependency loading successfull tsl2.nano.test?C??b? java/util/LinkedList???????vw??c`? sremoving properties from serialization while its value is not serializable or doesn't have a default constructor:
qremoving services from serialization while its value is not serializable or doesn't have a default constructor:
??c?wc org/apache/commons/logging/Log~???i??? basedir?i
defaultformat config.relative.path config.path java/io/InputStream java/util/SortedMap
java/util/Map java/lang/Throwable java/util/Collection java/util/List
java/util/Set java/util/Iterator separator replace D(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; lastIndexOf (Ljava/lang/String;)I length ()I substring (II)Ljava/lang/String; !de/tsl2/nano/core/util/StringUtil K(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String; toFirstUpper java/lang/System getClassLoader ()Ljava/lang/ClassLoader; getResourceAsStream (Ljava/io/InputStream;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; equals toString 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ()Ljava/util/Set; ()Ljava/util/Properties; removeAll (Ljava/util/Collection;)Z putAll (Ljava/util/Map;)V -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toFormattedString ((Ljava/lang/Object;IZ)Ljava/lang/String; canRead loadXml isInterface de/tsl2/nano/core/util/Util isFrameworkClass de/tsl2/nano/core/cls/BeanClass hasDefaultConstructor (Ljava/lang/Class;Z)Z createInstance 8(Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; saveXml (CC)Ljava/lang/String; mkdirs J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; de/tsl2/nano/core/util/FileUtil concat de/tsl2/nano/core/log/LogFactory
setLogFile setLogFactoryXml getFileBytes -(Ljava/lang/String;Ljava/lang/ClassLoader;)[B ([B)V &de/tsl2/nano/core/execution/SystemUtil
createInfo registerMethod L(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z[Ljava/lang/Class;)V getPath i(Ljava/lang/String;Ljava/lang/Class;Lde/tsl2/nano/core/execution/CompatibilityLayer;ZZ)Ljava/lang/Object; 3(Ljava/io/File;Ljava/lang/Class;)Ljava/lang/Object; java/lang/Thread
currentThread ()Ljava/lang/Thread; getContextClassLoader put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; getAbsolutePath mkdir hasResource si (()Lde/tsl2/nano/core/execution/Profiler; "setDefaultUncaughtExceptionHandler .(Ljava/lang/Thread$UncaughtExceptionHandler;)V valueOf (I)Ljava/lang/Integer; intValue J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Date;I)V checkAndUpdate run 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Z java/util/Collections synchronizedSortedMap ,(Ljava/util/SortedMap;)Ljava/util/SortedMap; getClass ()Ljava/lang/Class;
getInterfaces ()[Ljava/lang/Class;
startsWith java/util/ResourceBundle
clearCache deleteRecursive (Ljava/io/File;)Z #de/tsl2/nano/core/cls/PrimitiveUtil isPrimitiveOrWrapper convert 7(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object; containsKey !de/tsl2/nano/core/util/NumberUtil isInteger
isFloating doubleValue ()D java/lang/Double (D)Ljava/lang/Double; longValue ()J java/lang/Long (J)Ljava/lang/Long; remove java/util/Locale
getDefault ()Ljava/util/Locale; getBundle W(Ljava/lang/String;Ljava/util/Locale;Ljava/lang/ClassLoader;)Ljava/util/ResourceBundle; de/tsl2/nano/core/Messages (Ljava/util/ResourceBundle;Z)V getString $(Ljava/lang/Enum;)Ljava/lang/String;
replaceAll ^(Ljava/lang/CharSequence;Ljava/lang/String;Lde/tsl2/nano/core/ITransformer;)Ljava/lang/String; getFormattedString 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; createBeanClass 5(Ljava/lang/String;)Lde/tsl2/nano/core/cls/BeanClass; '([Ljava/lang/Object;)Ljava/lang/Object;
getSimpleName toLowerCase trim (Z)Ljava/lang/Boolean; booleanValue contains (Ljava/lang/CharSequence;)Z
isAbsolute dump '(Ljava/lang/Object;Ljava/lang/String;)V exists de/tsl2/nano/core/util/MapUtil 6(Ljava/util/Map;Ljava/util/Collection;)Ljava/util/Map; removeAllNulls (Ljava/util/Map;)Ljava/util/Map; setContextClassLoader (Ljava/lang/ClassLoader;)V ,de/tsl2/nano/core/classloader/LibClassLoader addLibraryPath (Ljava/io/File;)V (Ljava/io/Reader;)V "de/tsl2/nano/core/ManagedException forward ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; currentTimeMillis (J)Ljava/lang/StringBuilder; copy de/tsl2/nano/core/AppLoader isNestingJar endsWith getAbsoluteFile
getParentFile write A(Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/lang/String;Z)J
setExecutable (Z)Z -(Ljava/lang/Throwable;Z)Ljava/lang/Throwable; call 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; getFiles 5(Ljava/lang/String;Ljava/lang/String;)[Ljava/io/File; (I)V java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; addAll add size toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ](Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; de/tsl2/nano/core/util/NetUtil isOnline '(Ljava/lang/Object;I)Ljava/lang/String; #de/tsl2/nano/core/exception/Message send
getBoolean getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; !de/tsl2/nano/core/util/ObjectUtil isSingleValueType synchronizedMap isAssignableFrom isStandardType FRAMEWORK_PACKAGE ()Ljava/lang/Package; java/lang/Package ! G J cd e f hi e ?
jk lm n ) o psqrsstZuvZuwZxycizc{ |} ~ n ) o ps?rs?tZuvZuwZxyc?zc{ ??? ??} ~ ? ?i ?i ?i ?i ?i ?i ?i e ? ?i e ?i e A ?i e
?i e - ?i e T L ?? ? S *? *? *? Y? ? *? ? ? ? q t ? ?? ?k ?? ? { 7? W? ?
? K*
? *?
d? **?
d? K*
? ? ? ? ? ? ? + ?? '?i ? ? +? ?? ? ? ?? K*? ? ? ? L+? ?? Y? M,+? ? Y? ,? ? ? ,? ? ? , ? ? ? ,!? ? ",#? ? $? %? &? ? 'K*? (W,? )? *? )? + W? *,? ,? -?? L-?*?
? ? . ? V ? ?
? ? ? ? ! ? &