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.
 
 
 
 

312 lines
13 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>org.apache.commons.cli (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="org.apache.commons.cli (Apache Commons CLI 1.4 API)";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. </script>
  22. <noscript>
  23. <div>JavaScript is disabled on your browser.</div>
  24. </noscript>
  25. <!-- ========= START OF TOP NAVBAR ======= -->
  26. <div class="topNav"><a name="navbar.top">
  27. <!-- -->
  28. </a>
  29. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  30. <a name="navbar.top.firstrow">
  31. <!-- -->
  32. </a>
  33. <ul class="navList" title="Navigation">
  34. <li><a href="../../../../org/apache/commons/cli/package-summary.html">Package</a></li>
  35. <li>Class</li>
  36. <li><a href="package-use.html">Use</a></li>
  37. <li><a href="package-tree.html">Tree</a></li>
  38. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  39. <li><a href="../../../../index-all.html">Index</a></li>
  40. <li><a href="../../../../help-doc.html">Help</a></li>
  41. </ul>
  42. </div>
  43. <div class="subNav">
  44. <ul class="navList">
  45. <li>Prev&nbsp;Package</li>
  46. <li>Next&nbsp;Package</li>
  47. </ul>
  48. <ul class="navList">
  49. <li><a href="../../../../index.html?org/apache/commons/cli/package-summary.html" target="_top">Frames</a></li>
  50. <li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
  51. </ul>
  52. <ul class="navList" id="allclasses_navbar_top">
  53. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  54. </ul>
  55. <div>
  56. <script type="text/javascript"><!--
  57. allClassesLink = document.getElementById("allclasses_navbar_top");
  58. if(window==top) {
  59. allClassesLink.style.display = "block";
  60. }
  61. else {
  62. allClassesLink.style.display = "none";
  63. }
  64. //-->
  65. </script>
  66. </div>
  67. <a name="skip.navbar.top">
  68. <!-- -->
  69. </a></div>
  70. <!-- ========= END OF TOP NAVBAR ========= -->
  71. <div class="header">
  72. <h1 title="Package" class="title">Package&nbsp;org.apache.commons.cli</h1>
  73. <div class="docSummary">
  74. <div class="block">Commons CLI 1.3</div>
  75. </div>
  76. <p>See:&nbsp;<a href="#package.description">Description</a></p>
  77. </div>
  78. <div class="contentContainer">
  79. <ul class="blockList">
  80. <li class="blockList">
  81. <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
  82. <caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
  83. <tr>
  84. <th class="colFirst" scope="col">Interface</th>
  85. <th class="colLast" scope="col">Description</th>
  86. </tr>
  87. <tbody>
  88. <tr class="altColor">
  89. <td class="colFirst"><a href="../../../../org/apache/commons/cli/CommandLineParser.html" title="interface in org.apache.commons.cli">CommandLineParser</a></td>
  90. <td class="colLast">
  91. <div class="block">A class that implements the <code>CommandLineParser</code> interface
  92. can parse a String array according to the <a href="../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli"><code>Options</code></a> specified
  93. and return a <a href="../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli"><code>CommandLine</code></a>.</div>
  94. </td>
  95. </tr>
  96. </tbody>
  97. </table>
  98. </li>
  99. <li class="blockList">
  100. <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
  101. <caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
  102. <tr>
  103. <th class="colFirst" scope="col">Class</th>
  104. <th class="colLast" scope="col">Description</th>
  105. </tr>
  106. <tbody>
  107. <tr class="altColor">
  108. <td class="colFirst"><a href="../../../../org/apache/commons/cli/BasicParser.html" title="class in org.apache.commons.cli">BasicParser</a></td>
  109. <td class="colLast">Deprecated
  110. <div class="block"><span class="deprecationComment">since 1.3, use the <a href="../../../../org/apache/commons/cli/DefaultParser.html" title="class in org.apache.commons.cli"><code>DefaultParser</code></a> instead</span></div>
  111. </td>
  112. </tr>
  113. <tr class="rowColor">
  114. <td class="colFirst"><a href="../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a></td>
  115. <td class="colLast">
  116. <div class="block">Represents list of arguments parsed against a <a href="../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli"><code>Options</code></a> descriptor.</div>
  117. </td>
  118. </tr>
  119. <tr class="altColor">
  120. <td class="colFirst"><a href="../../../../org/apache/commons/cli/CommandLine.Builder.html" title="class in org.apache.commons.cli">CommandLine.Builder</a></td>
  121. <td class="colLast">
  122. <div class="block">A nested builder class to create <code>CommandLine</code> instance
  123. using descriptive methods.</div>
  124. </td>
  125. </tr>
  126. <tr class="rowColor">
  127. <td class="colFirst"><a href="../../../../org/apache/commons/cli/DefaultParser.html" title="class in org.apache.commons.cli">DefaultParser</a></td>
  128. <td class="colLast">
  129. <div class="block">Default parser.</div>
  130. </td>
  131. </tr>
  132. <tr class="altColor">
  133. <td class="colFirst"><a href="../../../../org/apache/commons/cli/GnuParser.html" title="class in org.apache.commons.cli">GnuParser</a></td>
  134. <td class="colLast">Deprecated
  135. <div class="block"><span class="deprecationComment">since 1.3, use the <a href="../../../../org/apache/commons/cli/DefaultParser.html" title="class in org.apache.commons.cli"><code>DefaultParser</code></a> instead</span></div>
  136. </td>
  137. </tr>
  138. <tr class="rowColor">
  139. <td class="colFirst"><a href="../../../../org/apache/commons/cli/HelpFormatter.html" title="class in org.apache.commons.cli">HelpFormatter</a></td>
  140. <td class="colLast">
  141. <div class="block">A formatter of help messages for command line options.</div>
  142. </td>
  143. </tr>
  144. <tr class="altColor">
  145. <td class="colFirst"><a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli">Option</a></td>
  146. <td class="colLast">
  147. <div class="block">Describes a single command-line option.</div>
  148. </td>
  149. </tr>
  150. <tr class="rowColor">
  151. <td class="colFirst"><a href="../../../../org/apache/commons/cli/Option.Builder.html" title="class in org.apache.commons.cli">Option.Builder</a></td>
  152. <td class="colLast">
  153. <div class="block">A nested builder class to create <code>Option</code> instances
  154. using descriptive methods.</div>
  155. </td>
  156. </tr>
  157. <tr class="altColor">
  158. <td class="colFirst"><a href="../../../../org/apache/commons/cli/OptionBuilder.html" title="class in org.apache.commons.cli">OptionBuilder</a></td>
  159. <td class="colLast">Deprecated
  160. <div class="block"><span class="deprecationComment">since 1.3, use <a href="../../../../org/apache/commons/cli/Option.html#builder-java.lang.String-"><code>Option.builder(String)</code></a> instead</span></div>
  161. </td>
  162. </tr>
  163. <tr class="rowColor">
  164. <td class="colFirst"><a href="../../../../org/apache/commons/cli/OptionGroup.html" title="class in org.apache.commons.cli">OptionGroup</a></td>
  165. <td class="colLast">
  166. <div class="block">A group of mutually exclusive options.</div>
  167. </td>
  168. </tr>
  169. <tr class="altColor">
  170. <td class="colFirst"><a href="../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli">Options</a></td>
  171. <td class="colLast">
  172. <div class="block">Main entry-point into the library.</div>
  173. </td>
  174. </tr>
  175. <tr class="rowColor">
  176. <td class="colFirst"><a href="../../../../org/apache/commons/cli/Parser.html" title="class in org.apache.commons.cli">Parser</a></td>
  177. <td class="colLast">Deprecated
  178. <div class="block"><span class="deprecationComment">since 1.3, the two-pass parsing with the flatten method is not enough flexible to handle complex cases</span></div>
  179. </td>
  180. </tr>
  181. <tr class="altColor">
  182. <td class="colFirst"><a href="../../../../org/apache/commons/cli/PatternOptionBuilder.html" title="class in org.apache.commons.cli">PatternOptionBuilder</a></td>
  183. <td class="colLast">
  184. <div class="block">Allows Options to be created from a single String.</div>
  185. </td>
  186. </tr>
  187. <tr class="rowColor">
  188. <td class="colFirst"><a href="../../../../org/apache/commons/cli/PosixParser.html" title="class in org.apache.commons.cli">PosixParser</a></td>
  189. <td class="colLast">Deprecated
  190. <div class="block"><span class="deprecationComment">since 1.3, use the <a href="../../../../org/apache/commons/cli/DefaultParser.html" title="class in org.apache.commons.cli"><code>DefaultParser</code></a> instead</span></div>
  191. </td>
  192. </tr>
  193. <tr class="altColor">
  194. <td class="colFirst"><a href="../../../../org/apache/commons/cli/TypeHandler.html" title="class in org.apache.commons.cli">TypeHandler</a></td>
  195. <td class="colLast">
  196. <div class="block">This is a temporary implementation.</div>
  197. </td>
  198. </tr>
  199. </tbody>
  200. </table>
  201. </li>
  202. <li class="blockList">
  203. <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation">
  204. <caption><span>Exception Summary</span><span class="tabEnd">&nbsp;</span></caption>
  205. <tr>
  206. <th class="colFirst" scope="col">Exception</th>
  207. <th class="colLast" scope="col">Description</th>
  208. </tr>
  209. <tbody>
  210. <tr class="altColor">
  211. <td class="colFirst"><a href="../../../../org/apache/commons/cli/AlreadySelectedException.html" title="class in org.apache.commons.cli">AlreadySelectedException</a></td>
  212. <td class="colLast">
  213. <div class="block">Thrown when more than one option in an option group
  214. has been provided.</div>
  215. </td>
  216. </tr>
  217. <tr class="rowColor">
  218. <td class="colFirst"><a href="../../../../org/apache/commons/cli/AmbiguousOptionException.html" title="class in org.apache.commons.cli">AmbiguousOptionException</a></td>
  219. <td class="colLast">
  220. <div class="block">Exception thrown when an option can't be identified from a partial name.</div>
  221. </td>
  222. </tr>
  223. <tr class="altColor">
  224. <td class="colFirst"><a href="../../../../org/apache/commons/cli/MissingArgumentException.html" title="class in org.apache.commons.cli">MissingArgumentException</a></td>
  225. <td class="colLast">
  226. <div class="block">Thrown when an option requiring an argument
  227. is not provided with an argument.</div>
  228. </td>
  229. </tr>
  230. <tr class="rowColor">
  231. <td class="colFirst"><a href="../../../../org/apache/commons/cli/MissingOptionException.html" title="class in org.apache.commons.cli">MissingOptionException</a></td>
  232. <td class="colLast">
  233. <div class="block">Thrown when a required option has not been provided.</div>
  234. </td>
  235. </tr>
  236. <tr class="altColor">
  237. <td class="colFirst"><a href="../../../../org/apache/commons/cli/ParseException.html" title="class in org.apache.commons.cli">ParseException</a></td>
  238. <td class="colLast">
  239. <div class="block">Base for Exceptions thrown during parsing of a command-line.</div>
  240. </td>
  241. </tr>
  242. <tr class="rowColor">
  243. <td class="colFirst"><a href="../../../../org/apache/commons/cli/UnrecognizedOptionException.html" title="class in org.apache.commons.cli">UnrecognizedOptionException</a></td>
  244. <td class="colLast">
  245. <div class="block">Exception thrown during parsing signalling an unrecognized
  246. option was seen.</div>
  247. </td>
  248. </tr>
  249. </tbody>
  250. </table>
  251. </li>
  252. </ul>
  253. <a name="package.description">
  254. <!-- -->
  255. </a>
  256. <h2 title="Package org.apache.commons.cli Description">Package org.apache.commons.cli Description</h2>
  257. <div class="block">Commons CLI 1.3</div>
  258. <dl>
  259. <dt><span class="simpleTagLabel">Version:</span></dt>
  260. <dd>$Id: package-info.java 1443102 2013-02-06 18:12:16Z tn $</dd>
  261. </dl>
  262. </div>
  263. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  264. <div class="bottomNav"><a name="navbar.bottom">
  265. <!-- -->
  266. </a>
  267. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  268. <a name="navbar.bottom.firstrow">
  269. <!-- -->
  270. </a>
  271. <ul class="navList" title="Navigation">
  272. <li><a href="../../../../org/apache/commons/cli/package-summary.html">Package</a></li>
  273. <li>Class</li>
  274. <li><a href="package-use.html">Use</a></li>
  275. <li><a href="package-tree.html">Tree</a></li>
  276. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  277. <li><a href="../../../../index-all.html">Index</a></li>
  278. <li><a href="../../../../help-doc.html">Help</a></li>
  279. </ul>
  280. </div>
  281. <div class="subNav">
  282. <ul class="navList">
  283. <li>Prev&nbsp;Package</li>
  284. <li>Next&nbsp;Package</li>
  285. </ul>
  286. <ul class="navList">
  287. <li><a href="../../../../index.html?org/apache/commons/cli/package-summary.html" target="_top">Frames</a></li>
  288. <li><a href="package-summary.html" target="_top">No&nbsp;Frames</a></li>
  289. </ul>
  290. <ul class="navList" id="allclasses_navbar_bottom">
  291. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  292. </ul>
  293. <div>
  294. <script type="text/javascript"><!--
  295. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  296. if(window==top) {
  297. allClassesLink.style.display = "block";
  298. }
  299. else {
  300. allClassesLink.style.display = "none";
  301. }
  302. //-->
  303. </script>
  304. </div>
  305. <a name="skip.navbar.bottom">
  306. <!-- -->
  307. </a></div>
  308. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  309. <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>
  310. </body>
  311. </html>