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

com.vmware.vim25.mo.util.CommandLineParser.class Maven / Gradle / Ivy

The newest version!
????2?*com/vmware/vim25/mo/util/CommandLineParserjava/lang/ObjectoptsEnteredLjava/util/HashMap;	Signature9Ljava/util/HashMap;userOptsbuiltInOpts<([Lcom/vmware/vim25/mo/util/OptionSpec;[Ljava/lang/String;)VCode
()Vjava/util/HashMap
				

builtinOptions
 
addOptions)([Lcom/vmware/vim25/mo/util/OptionSpec;)V
"#$
parseInput([Ljava/lang/String;)V
&'validateLineNumberTableLocalVariableTablethis,Lcom/vmware/vim25/mo/util/CommandLineParser;userOptions&[Lcom/vmware/vim25/mo/util/OptionSpec;args[Ljava/lang/String;
StackMapTable-/
465#com/vmware/vim25/mo/util/OptionSpec78
getOptionName()Ljava/lang/String;
:<;java/lang/String=>length()I
4@A8
getOptionDesc
4CD8
getOptionType
4FG>getOptionRequired
IJKput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;	MONjava/lang/SystemPQoutLjava/io/PrintStream;Sjava/lang/StringBuilderUOption 
RWX(Ljava/lang/String;)V
RZ[\append-(Ljava/lang/String;)Ljava/lang/StringBuilder;^ definition is not valid
R`a8toString
cedjava/io/PrintStreamfXprintlnh"java/lang/IllegalArgumentException
gWiImurloStringqVI SDK URL to connect to
4stL(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)VvuserNamexUsername to connect to the hostzpassword|"password of the corresponding user~config?*Location of the VI perl configuration file?protocol?"Protocol used to connect to server?server?VI server to connect to?
portNumber?Port used to connect to server?443?servicePath?&Service path used to connect to server?sessionFile?,File containing session ID/cookie to utilize?help?'Display user information for the script?
ignorecert?(Ignore the server certificate validation?username?
portnumber?servicepath?sessionfile%Lcom/vmware/vim25/mo/util/OptionSpec;
??$getCmdArguments?Exception running : 
R?[?-(Ljava/lang/Object;)Ljava/lang/StringBuilder;
???keySet()Ljava/util/Set;???
java/util/Set??iterator()Ljava/util/Iterator;???java/util/Iterator??next()Ljava/lang/Object;
`
???get&(Ljava/lang/Object;)Ljava/lang/Object;
???checkInputOptions((Ljava/util/HashMap;Ljava/lang/String;)Z?Invalid Input Option '?'
??displayUsage
???checkDatatypes:(Ljava/util/HashMap;Ljava/lang/String;Ljava/lang/String;)Z?#Invalid datatype for Input Option '????hasNext()Z?java/lang/ExceptioneLjava/lang/Exception;ItLjava/util/Iterator;keyValueLjava/lang/String;
keyOptionsresultZvalid?usage??--
:???
startsWith(Ljava/lang/String;)Z
:???	substring(I)Ljava/lang/String;
???containsKey(Ljava/lang/Object;)Z?key '?' already exists lenvalopt
validateDataType'(Ljava/lang/String;Ljava/lang/String;)ZOptsoSpecdataTypeBoolean
:	
?equalsIgnoreCasetruefalseInteger
java/lang/IntegerparseInt(Ljava/lang/String;)IFloat
java/lang/Float
parseFloat(Ljava/lang/String;)F Long
"$#java/lang/Long%&	parseLong(Ljava/lang/String;)J(java/lang/NumberFormatException!Ljava/lang/NumberFormatException;checkOptionsvalue
-'.'(Ljava/lang/Object;Ljava/lang/String;)V
01?isEmpty3---help
M567exit(I)V
9:?
option_is_set
<=>getValue'(Ljava/util/HashMap;)Ljava/util/Vector;
@BAjava/util/Vector?C(I)Ljava/lang/Object;EEnter password: 
GHIreadPassword&(Ljava/lang/String;)Ljava/lang/String;K----ERROR: M not specified 

cOPXprint
@RS>sizeUSMust have one of command options 'sessionfile' or a 'username' and 'password' pair
	classNameLjava/lang/Object;functionNamevecLjava/util/Vector;
missingArgLocalVariableTypeTable&Ljava/util/Vector;
@
@`a?addstrdCommon Java Options :
fgh
print_options(Ljava/util/HashMap;)Vj
Command specific options: 
4lm8getOptionDefaulto   --q < type s
, default u>w < default y >{ }      type
defaultValgeneralKeysLjava/util/Set;
:???equalsoptionkeyVal
get_option
:`?undefined variablekeygetOnelineInput?java/io/BufferedReader?java/io/InputStreamReader	M???inLjava/io/InputStream;
???(Ljava/io/InputStream;)V
???(Ljava/io/Reader;)V
???8readLine?Error in reading console input.?java/io/IOExceptionpromptstdinLjava/io/BufferedReader;passioeLjava/io/IOException;getUsername
??IgetPassword?7com/vmware/vim25/mo/util/CommandLineParser$PasswordMask
???/(Lcom/vmware/vim25/mo/util/CommandLineParser;)V
???start
???halt?
consoleEraser9Lcom/vmware/vim25/mo/util/CommandLineParser$PasswordMask;
SourceFileCommandLineParser.javaInnerClassesPasswordMask!	

?H*?*?Y??*?Y??*?Y??*?+?*+?*,?!*?%?*,?!*?%?(2.*+,%0)2-42576>:C;G=) H*+H,-H./0?>12 
8?=??+2?3?c+2?3?9?W+2???N+2???9?B+2?B?9+2?B?9?-+2?E?+2?3?9?*?+2?3+2?HW?E?L?RYT?V+2?3?Y]?Y?_?b?gY?RYT?V+2?3?Y]?Y?_?i??+???O?(2BDE/FDGZHnL?M?N?M?B?Q) ?*+?,-?jk0??T?A
:F?4Ylnp?rL?4Yunw?rM?4Yyn{?rN?4Y}n?r:?4Y?n??r:?4Y?n??r:?4Y?n???r:?4Y?n??r:?4Y?n??r:	?4Y?n??r:
?4Y?n??r:*?l+?HW*??,?HW*?y-?HW*?y-?HW*?}?HW*???HW*???HW*???HW*???HW*??	?HW*??
?HW*???HW?(bUV W0XAYRZc[u\?]?^?_?`?a?b?c?d?e?f	gh!i-j9kEl)zF*+6m? &v?0z?A~?R???c???u???????????	????
????#$
*+???M?gY?RY??V,???_?i?*?????M??,????N*?-???::**?-??6**?-??6?D???L?RYɷV-?Y˶Y?_?b*?ͻgY?RYɷV-?Y˶Y?_?i?**?-??6**?-??6?D???L?RYԷV-?Y˶Y?_?b*?ͻgY?RYɷV-?Y˶Y?_?i?,????'??(Vrt	v!y.z1|;}H~S^?h?????????????????z
?)R*+./	??.???;???H???S???^???05H????r2?::?_2??$
??+?=>??*?ͻgY?i??:+2:??Y*?????I?L?RY??V??Y??Y?_?b*?ͻgY?RY??V??Y??Y?_?i?+2??S+?`?<+`2??+`2:*????HW?$*????HW?*????HW?+???6?(V???	?
??? ?:?Z?^?????????????????????)>?*+?./??k?jk??? ???0??h::9???
?.6+,??6? +,???4:?B:*-??6??("??
??? ?)?,?)R.*+..??.??+??? ?)??0?,
Z+??,??
,
????+??
,?W?+??
,?W?+??
,?!X??N?W'"1W'3BW'DSW'(B?
?? ?"?,?1?3?=?B?D?N?S?U?W?X?)*Z*+Z?Z??X?)0A'??
Z
>+,??>?(???)*
*+
*
+???'
5*?,?(
??)*+'.
??*??/?*?ͻgY2?i?*?????*???4*??8?*???4**??;N6??*?-??????-???::y??*D?F:*?y?HW?S?L?RYJ?V-???:?YL?Y?_?N*?ͻgY?RYJ?V-???:?YL?Y?_?i??-?Q??j**??;N6?f*?-?????S?L?RYJ?V-???:?YL?Y?_?N*?ͻgY?RYJ?V-???:?YL?Y?_?i??-?Q???*?????3*?????'*?y????LT?b*?ͻgYT?i??(?!?
???%)-6:>GM	]
hr{
???????*.Uam? ?!?"?$)R?*+?VW?X?GWYZJ?jkhr[?{z??ojk\GWY]0?@?<:?O?_?D=>
?F+????M?@Y?^N?),????:+???4:?E?
-?_W,?????-?(&	+
,-. /+041;-D4)>F*+F*
<??4YZ b?+?\4Y]0??@%?
]#?Lc?b**??e?Li?b**??e?(8	9:;"<)#*+gh
h	[?M?N?:+??:??:?7????:+???4:?B?I?k?A?BM?kN?L?RYn?V?Yp?Y,?Yr?Y-?Yt?Y?_?b?k?<?B?4?kN?L?RYn?V?Yv?Y-?Yx?Y?_?b?r?B?<?k?4?BM?L?RYn?V?Yp?Y,?Yx?Y?_?b?1?B?)?k?!?L?RYn?V?Yz?Y?_?b??:?L?RY|?V?Y?_?b????ű(b@AC
DEFG(H3ICJIKOL?N?O?P?R?S?TVW1Y8ZPFZ\)\	[*+[X~?U?B??
Q??K??((??3?01?::?:??d:4?@?@-?:?
?3=*?????N?-????:+???=-??????("`abcd&e(b1h)43*+3??1??$????0
???I
?*?+???*?+???:???**?+?ř'*?+???4?k?*?+???4?kM,??**?+?ř'*?+???4?k?*?+???4?kM,???L??b?(:mnp&q7rFsHvJyVzg{v|xz???)*?*+???Fb?vb?0--?I
?0?L+?N??Y??Y??????MN,??N?:?L??b-? #?(????#?%?.?)40*+0??????%	??0?#:?:?
?8
1*????(?)*+?8
1*y???(?)*+HI
????Y*??M?L+?N??Y??Y??????N,??-??:,???L??N?M?;<?(2?	????"?&?,?0?9?<?=?)>?*+???	3??"??,??=??0|????
??




© 2015 - 2024 Weber Informatics LLC | Privacy Policy