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

de.tsl2.nano.core.util.MainUtil.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
????=?de/tsl2/nano/core/util/CLI
java/lang/Object()V


de/tsl2/nano/core/util/MainUtil	checkArgs:([Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/String;)Vjava/lang/String	java/util/LocaleUSLjava/util/Locale;

setDefault(Ljava/util/Locale;)V

initProperties;(Ljava/lang/String;Ljava/lang/Class;)Ljava/util/Properties;

 !"getArgNames%([Ljava/lang/String;)Ljava/util/List;$=
&'(contains(Ljava/lang/CharSequence;)Z*-
,-./0!de/tsl2/nano/core/util/StringUtil	substringJ(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
234
startsWith(Ljava/lang/String;)Z	6789:java/lang/BooleanTRUELjava/lang/Boolean;<"java/lang/IllegalArgumentException
,>?@toFormattedString'(Ljava/lang/Object;I)Ljava/lang/String;BCDmakeConcatWithConstants&(Ljava/lang/String;)Ljava/lang/String;
;FG(Ljava/lang/String;)VI:
KLMtrim()Ljava/lang/String;

OPQgetValueFromTypeDef8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;STU'Vjava/util/List(Ljava/lang/Object;)Z	
XYZWARNLjava/lang/String;	\]^_` de/tsl2/nano/core/util/CLI$ColorGREEN"Lde/tsl2/nano/core/util/CLI$Color;
bcdtagH(Ljava/lang/Object;Lde/tsl2/nano/core/util/CLI$Color;)Ljava/lang/String;fCg8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

ijklogn(Ljava/lang/Object;)Vf
nopqrjava/util/Propertiesput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;tjava/util/ArrayList
vwxyzjava/util/ArraysasList%([Ljava/lang/Object;)Ljava/util/List;
s|}(Ljava/util/Collection;)V

??defineDefaults)(Ljava/util/Properties;Ljava/util/List;)VS???size()IB

???	printInfo*(Ljava/lang/Class;Ljava/util/Properties;)V?\?|[-]*h(elp)*
??4matches
????Mjava/lang/Class
getSimpleNamef?(no arguments given -- no help available!?enableassertions?true
????gjava/lang/SystemsetProperty
nB??java/io/FileReader?java/io/File
?F
???(Ljava/io/File;)V
n???load(Ljava/io/Reader;)V	????outLjava/io/PrintStream;B
????Gjava/io/PrintStreamprintln?java/io/IOException
s??(I)VS??VaddS???iterator()Ljava/util/Iterator;?????java/util/IteratorhasNext()Z????next()Ljava/lang/Object;???remove
n???get&(Ljava/lang/Object;)Ljava/lang/Object;?	[default:?]
,?/?L(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZ)Ljava/lang/String;?{?}?@
?????de/tsl2/nano/core/cls/BeanClass%(Ljava/lang/String;)Ljava/lang/Class;
????isInterface
????createInstance9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
?????!de/tsl2/nano/core/util/FormatUtilparse7(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
???getClass()Ljava/lang/Class;
????isAssignableFrom(Ljava/lang/Class;)Z	 of type 

amsg\(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;

assertw(ZLjava/lang/String;)V
,

split'(Ljava/lang/String;)[Ljava/lang/String;one of ..\.\.java/lang/Comparable	compareTo(Ljava/lang/Object;)I>= <= f!UNKNOWN#tsl-logo.txt
%&'()de/tsl2/nano/core/util/FileUtilgetFileBytes-(Ljava/lang/String;Ljava/lang/ClassLoader;)[B
+,([B)V

./klog1N
=============================================================================B4java/util/TreeMap
367(Ljava/util/Map;)V9M=============================================================================	;C<&(Ljava/lang/Object;)Ljava/lang/String;

>/?J(Ljava/lang/Object;Ljava/lang/String;[Lde/tsl2/nano/core/util/CLI$Color;)V
ABMtoString
DcE6(Lde/tsl2/nano/core/util/CLI$Color;)Ljava/lang/String;G
?IJkprint	\LM`
LIGHT_BLUE
OCP\(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;RINFO:  	\TU`BLUE	
WXZINFOZWARN:  	\\]`YELLOW_ERROR: 	\ab`RED	
deZERROROPTION
ConstantValueASSIGNCodeLineNumberTableLocalVariableTablethis!Lde/tsl2/nano/core/util/MainUtil;toPropertiesb(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/Class;Z[Ljava/lang/String;)Ljava/util/Properties;namevalueLjava/lang/Object;iIprefixargs[Ljava/lang/String;	mainClassLjava/lang/Class;useUSLocaleZmainArgNamespLjava/util/Properties;nargNamesLjava/util/List;
mandatoryArgsLocalVariableTypeTableLjava/lang/Class<*>;$Ljava/util/List;
StackMapTablew	Signaturee(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/Class<*>;Z[Ljava/lang/String;)Ljava/util/Properties;=([Ljava/lang/String;Ljava/lang/Class<*>;[Ljava/lang/String;)VpropFile>(Ljava/lang/String;Ljava/lang/Class<*>;)Ljava/util/Properties;na9([Ljava/lang/String;)Ljava/util/List;description
defaultStringargValueitLjava/util/Iterator;mainArgList(Ljava/util/Iterator;=(Ljava/util/Properties;Ljava/util/List;)VminmaxtypevaluesetclsmainArgNameargtypeDefmainClsName-(Ljava/lang/Class<*>;Ljava/util/Properties;)Vtxtcolors#[Lde/tsl2/nano/core/util/CLI$Color;parts
expressionmsg	condition
SourceFile
MainUtil.javaBootstrapMethods?
???C?$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;?*too many arguments. known arguments are:
?undescribed argument: ??%please fill the following arguments
?syntax: 
?.? loaded?/: valueset description should use '..' or ','? inititialized with:?
? is  but must be InnerClassesColor?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup!
fZg)hZg#XZYZeZi/*??jklm?noi?2+,?	???:?	??*,?:6?:	6

+???+
2#?%?+
2)#?+:+
2#?+:?_+
2)?1?+
2)?+:?5:?????;Y?=?A?E?2H?+?J:2+
2?N:?	?R??W?[?a?e?h*?l?mW?
??C?sY?u?{:

?~
????;Y
?=???E?,???jv8:;<!>(A+B2E<FHGUHdIpJ|K?M?N?O?P?Q?S?T?V?E?YZ
\])^/_k?UpZaqr|pZ?qr?FpZ?8qr5?st
2uZ2vw2xy2z{2|w(
}~+t2??	/??
? 2x?2??	/??
?oC?????nS.? ???nS?
???nS?3S???
i?>*?*??6*2????++?,??;Y+??,?=???E??;Y??E??jcde3g=hk >vw>xy>|w?>x??	??
i
R????W?nY??M+??+??*?*?????lN,??Y??Y-????????-?????N,?LO?j&	klmo-p@qLtOrPvk*-?ZRuZRxyB}~?Rx??0?%?n??ng???
!"i?9?sY*???L*M,?>6?",2:+)H?+?J??W????+?jz
{|1{7~k ?Z9|w
/???
/?????S??$??
??i??+??:???z???N-)?1?
?????-)H?+?JM*,??:???????:?-????:???*,-?J?N?mW??????jB???&?-?0?<?C?P?S?Z?_?k?p????kH<MpZl?ZZ/?ZCF?r????}~???????????o?nS??'nS??"nS??nS??nS??PQi?)*????N-?-?-H?%?H???:-H??:???:??+????	+??M??,????*,?????	?%?$	??u+?R*+???y?%?b?:2???,???*,2??2???,???*,2????W*??h?+M,?jR???(?3?D?^?f?{???????????????"?%?'?k\	?R?w(??Z3??ZD??y^?qr)?Z)?Z'qr?Z?D?????? ??A???E??0?-?@'@??????i?E*?
*??? M?Y"?$?*?-0?h,?2?h?3Y+?5?=?h8?h?j?? ?&?/?>?D?k ExyE}~6?Z?Ex??B??	jki8
*?:?-?j
?	?k
?r?j?iN*?:+,?=?j
??k ?r
Z???/?i?D*?@+?N6-??(,??
,2?C??-2?l?-????,??	F?-?j?	??2?8?=?C?k4,stD?rD
ZD??	;?w???A?
	/ki6??*?H?j
??k?r	iV??W+?l?h?j???k?{?Z?
i^*?[?a+?K?a,-?N?j?k*pZqr?Z?r?iE%Q?S?a?VY?[?a?W^?`?a?c?j???D???????????????????????\?@???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy