Network programming assignment for University
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

335 lines
18 KiB

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="de">
  4. <head>
  5. <!-- Generated by javadoc -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  7. <title>AmbiguousOptionException (Apache Commons CLI 1.4 API)</title>
  8. <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="AmbiguousOptionException (Apache Commons CLI 1.4 API)";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../../../../org/apache/commons/cli/package-summary.html">Package</a></li>
  41. <li class="navBarCell1Rev">Class</li>
  42. <li><a href="class-use/AmbiguousOptionException.html">Use</a></li>
  43. <li><a href="package-tree.html">Tree</a></li>
  44. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  45. <li><a href="../../../../index-all.html">Index</a></li>
  46. <li><a href="../../../../help-doc.html">Help</a></li>
  47. </ul>
  48. </div>
  49. <div class="subNav">
  50. <ul class="navList">
  51. <li><a href="../../../../org/apache/commons/cli/AlreadySelectedException.html" title="class in org.apache.commons.cli"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  52. <li><a href="../../../../org/apache/commons/cli/BasicParser.html" title="class in org.apache.commons.cli"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  53. </ul>
  54. <ul class="navList">
  55. <li><a href="../../../../index.html?org/apache/commons/cli/AmbiguousOptionException.html" target="_top">Frames</a></li>
  56. <li><a href="AmbiguousOptionException.html" target="_top">No&nbsp;Frames</a></li>
  57. </ul>
  58. <ul class="navList" id="allclasses_navbar_top">
  59. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  60. </ul>
  61. <div>
  62. <script type="text/javascript"><!--
  63. allClassesLink = document.getElementById("allclasses_navbar_top");
  64. if(window==top) {
  65. allClassesLink.style.display = "block";
  66. }
  67. else {
  68. allClassesLink.style.display = "none";
  69. }
  70. //-->
  71. </script>
  72. </div>
  73. <div>
  74. <ul class="subNavList">
  75. <li>Summary:&nbsp;</li>
  76. <li>Nested&nbsp;|&nbsp;</li>
  77. <li>Field&nbsp;|&nbsp;</li>
  78. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  79. <li><a href="#method.summary">Method</a></li>
  80. </ul>
  81. <ul class="subNavList">
  82. <li>Detail:&nbsp;</li>
  83. <li>Field&nbsp;|&nbsp;</li>
  84. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  85. <li><a href="#method.detail">Method</a></li>
  86. </ul>
  87. </div>
  88. <a name="skip.navbar.top">
  89. <!-- -->
  90. </a></div>
  91. <!-- ========= END OF TOP NAVBAR ========= -->
  92. <!-- ======== START OF CLASS DATA ======== -->
  93. <div class="header">
  94. <div class="subTitle">org.apache.commons.cli</div>
  95. <h2 title="Class AmbiguousOptionException" class="title">Class AmbiguousOptionException</h2>
  96. </div>
  97. <div class="contentContainer">
  98. <ul class="inheritance">
  99. <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
  100. <li>
  101. <ul class="inheritance">
  102. <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</a></li>
  103. <li>
  104. <ul class="inheritance">
  105. <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</a></li>
  106. <li>
  107. <ul class="inheritance">
  108. <li><a href="../../../../org/apache/commons/cli/ParseException.html" title="class in org.apache.commons.cli">org.apache.commons.cli.ParseException</a></li>
  109. <li>
  110. <ul class="inheritance">
  111. <li><a href="../../../../org/apache/commons/cli/UnrecognizedOptionException.html" title="class in org.apache.commons.cli">org.apache.commons.cli.UnrecognizedOptionException</a></li>
  112. <li>
  113. <ul class="inheritance">
  114. <li>org.apache.commons.cli.AmbiguousOptionException</li>
  115. </ul>
  116. </li>
  117. </ul>
  118. </li>
  119. </ul>
  120. </li>
  121. </ul>
  122. </li>
  123. </ul>
  124. </li>
  125. </ul>
  126. <div class="description">
  127. <ul class="blockList">
  128. <li class="blockList">
  129. <dl>
  130. <dt>All Implemented Interfaces:</dt>
  131. <dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
  132. </dl>
  133. <hr>
  134. <br>
  135. <pre>public class <span class="typeNameLabel">AmbiguousOptionException</span>
  136. extends <a href="../../../../org/apache/commons/cli/UnrecognizedOptionException.html" title="class in org.apache.commons.cli">UnrecognizedOptionException</a></pre>
  137. <div class="block">Exception thrown when an option can't be identified from a partial name.</div>
  138. <dl>
  139. <dt><span class="simpleTagLabel">Since:</span></dt>
  140. <dd>1.3</dd>
  141. <dt><span class="simpleTagLabel">Version:</span></dt>
  142. <dd>$Id: AmbiguousOptionException.java 1669814 2015-03-28 18:09:26Z britter $</dd>
  143. <dt><span class="seeLabel">See Also:</span></dt>
  144. <dd><a href="../../../../serialized-form.html#org.apache.commons.cli.AmbiguousOptionException">Serialized Form</a></dd>
  145. </dl>
  146. </li>
  147. </ul>
  148. </div>
  149. <div class="summary">
  150. <ul class="blockList">
  151. <li class="blockList">
  152. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  153. <ul class="blockList">
  154. <li class="blockList"><a name="constructor.summary">
  155. <!-- -->
  156. </a>
  157. <h3>Constructor Summary</h3>
  158. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  159. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  160. <tr>
  161. <th class="colOne" scope="col">Constructor and Description</th>
  162. </tr>
  163. <tr class="altColor">
  164. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/AmbiguousOptionException.html#AmbiguousOptionException-java.lang.String-java.util.Collection-">AmbiguousOptionException</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;option,
  165. <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;matchingOptions)</code>
  166. <div class="block">Constructs a new AmbiguousOptionException.</div>
  167. </td>
  168. </tr>
  169. </table>
  170. </li>
  171. </ul>
  172. <!-- ========== METHOD SUMMARY =========== -->
  173. <ul class="blockList">
  174. <li class="blockList"><a name="method.summary">
  175. <!-- -->
  176. </a>
  177. <h3>Method Summary</h3>
  178. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  179. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  180. <tr>
  181. <th class="colFirst" scope="col">Modifier and Type</th>
  182. <th class="colLast" scope="col">Method and Description</th>
  183. </tr>
  184. <tr id="i0" class="altColor">
  185. <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
  186. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/AmbiguousOptionException.html#getMatchingOptions--">getMatchingOptions</a></span>()</code>
  187. <div class="block">Returns the options matching the partial name.</div>
  188. </td>
  189. </tr>
  190. </table>
  191. <ul class="blockList">
  192. <li class="blockList"><a name="methods.inherited.from.class.org.apache.commons.cli.UnrecognizedOptionException">
  193. <!-- -->
  194. </a>
  195. <h3>Methods inherited from class&nbsp;org.apache.commons.cli.<a href="../../../../org/apache/commons/cli/UnrecognizedOptionException.html" title="class in org.apache.commons.cli">UnrecognizedOptionException</a></h3>
  196. <code><a href="../../../../org/apache/commons/cli/UnrecognizedOptionException.html#getOption--">getOption</a></code></li>
  197. </ul>
  198. <ul class="blockList">
  199. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
  200. <!-- -->
  201. </a>
  202. <h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></h3>
  203. <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed-java.lang.Throwable-" title="class or interface in java.lang">addSuppressed</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace--" title="class or interface in java.lang">fillInStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getCause--" title="class or interface in java.lang">getCause</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage--" title="class or interface in java.lang">getLocalizedMessage</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getMessage--" title="class or interface in java.lang">getMessage</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace--" title="class or interface in java.lang">getStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getSuppressed--" title="class or interface in java.lang">getSuppressed</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#initCause-java.lang.Throwable-" title="class or interface in java.lang">initCause</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace--" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintStream-" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintWriter-" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#setStackTrace-java.lang.StackTraceElement:A-" title="class or interface in java.lang">setStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code></li>
  204. </ul>
  205. <ul class="blockList">
  206. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  207. <!-- -->
  208. </a>
  209. <h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
  210. <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
  211. </ul>
  212. </li>
  213. </ul>
  214. </li>
  215. </ul>
  216. </div>
  217. <div class="details">
  218. <ul class="blockList">
  219. <li class="blockList">
  220. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  221. <ul class="blockList">
  222. <li class="blockList"><a name="constructor.detail">
  223. <!-- -->
  224. </a>
  225. <h3>Constructor Detail</h3>
  226. <a name="AmbiguousOptionException-java.lang.String-java.util.Collection-">
  227. <!-- -->
  228. </a>
  229. <ul class="blockListLast">
  230. <li class="blockList">
  231. <h4>AmbiguousOptionException</h4>
  232. <pre>public&nbsp;AmbiguousOptionException(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;option,
  233. <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;matchingOptions)</pre>
  234. <div class="block">Constructs a new AmbiguousOptionException.</div>
  235. <dl>
  236. <dt><span class="paramLabel">Parameters:</span></dt>
  237. <dd><code>option</code> - the partial option name</dd>
  238. <dd><code>matchingOptions</code> - the options matching the name</dd>
  239. </dl>
  240. </li>
  241. </ul>
  242. </li>
  243. </ul>
  244. <!-- ============ METHOD DETAIL ========== -->
  245. <ul class="blockList">
  246. <li class="blockList"><a name="method.detail">
  247. <!-- -->
  248. </a>
  249. <h3>Method Detail</h3>
  250. <a name="getMatchingOptions--">
  251. <!-- -->
  252. </a>
  253. <ul class="blockListLast">
  254. <li class="blockList">
  255. <h4>getMatchingOptions</h4>
  256. <pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;getMatchingOptions()</pre>
  257. <div class="block">Returns the options matching the partial name.</div>
  258. <dl>
  259. <dt><span class="returnLabel">Returns:</span></dt>
  260. <dd>a collection of options matching the name</dd>
  261. </dl>
  262. </li>
  263. </ul>
  264. </li>
  265. </ul>
  266. </li>
  267. </ul>
  268. </div>
  269. </div>
  270. <!-- ========= END OF CLASS DATA ========= -->
  271. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  272. <div class="bottomNav"><a name="navbar.bottom">
  273. <!-- -->
  274. </a>
  275. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  276. <a name="navbar.bottom.firstrow">
  277. <!-- -->
  278. </a>
  279. <ul class="navList" title="Navigation">
  280. <li><a href="../../../../org/apache/commons/cli/package-summary.html">Package</a></li>
  281. <li class="navBarCell1Rev">Class</li>
  282. <li><a href="class-use/AmbiguousOptionException.html">Use</a></li>
  283. <li><a href="package-tree.html">Tree</a></li>
  284. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  285. <li><a href="../../../../index-all.html">Index</a></li>
  286. <li><a href="../../../../help-doc.html">Help</a></li>
  287. </ul>
  288. </div>
  289. <div class="subNav">
  290. <ul class="navList">
  291. <li><a href="../../../../org/apache/commons/cli/AlreadySelectedException.html" title="class in org.apache.commons.cli"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  292. <li><a href="../../../../org/apache/commons/cli/BasicParser.html" title="class in org.apache.commons.cli"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  293. </ul>
  294. <ul class="navList">
  295. <li><a href="../../../../index.html?org/apache/commons/cli/AmbiguousOptionException.html" target="_top">Frames</a></li>
  296. <li><a href="AmbiguousOptionException.html" target="_top">No&nbsp;Frames</a></li>
  297. </ul>
  298. <ul class="navList" id="allclasses_navbar_bottom">
  299. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  300. </ul>
  301. <div>
  302. <script type="text/javascript"><!--
  303. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  304. if(window==top) {
  305. allClassesLink.style.display = "block";
  306. }
  307. else {
  308. allClassesLink.style.display = "none";
  309. }
  310. //-->
  311. </script>
  312. </div>
  313. <div>
  314. <ul class="subNavList">
  315. <li>Summary:&nbsp;</li>
  316. <li>Nested&nbsp;|&nbsp;</li>
  317. <li>Field&nbsp;|&nbsp;</li>
  318. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  319. <li><a href="#method.summary">Method</a></li>
  320. </ul>
  321. <ul class="subNavList">
  322. <li>Detail:&nbsp;</li>
  323. <li>Field&nbsp;|&nbsp;</li>
  324. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  325. <li><a href="#method.detail">Method</a></li>
  326. </ul>
  327. </div>
  328. <a name="skip.navbar.bottom">
  329. <!-- -->
  330. </a></div>
  331. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  332. <p class="legalCopy"><small>Copyright &#169; 2002&#x2013;2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
  333. </body>
  334. </html>