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.
 
 
 
 

253 lines
17 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>Uses of Class org.apache.commons.cli.CommandLine (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="Uses of Class org.apache.commons.cli.CommandLine (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><a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">Class</a></li>
  36. <li class="navBarCell1Rev">Use</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</li>
  46. <li>Next</li>
  47. </ul>
  48. <ul class="navList">
  49. <li><a href="../../../../../index.html?org/apache/commons/cli/class-use/CommandLine.html" target="_top">Frames</a></li>
  50. <li><a href="CommandLine.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. <h2 title="Uses of Class org.apache.commons.cli.CommandLine" class="title">Uses of Class<br>org.apache.commons.cli.CommandLine</h2>
  73. </div>
  74. <div class="classUseContainer">
  75. <ul class="blockList">
  76. <li class="blockList">
  77. <ul class="blockList">
  78. <li class="blockList"><a name="org.apache.commons.cli">
  79. <!-- -->
  80. </a>
  81. <h3>Uses of <a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a> in <a href="../../../../../org/apache/commons/cli/package-summary.html">org.apache.commons.cli</a></h3>
  82. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
  83. <caption><span>Fields in <a href="../../../../../org/apache/commons/cli/package-summary.html">org.apache.commons.cli</a> declared as <a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a></span><span class="tabEnd">&nbsp;</span></caption>
  84. <tr>
  85. <th class="colFirst" scope="col">Modifier and Type</th>
  86. <th class="colLast" scope="col">Field and Description</th>
  87. </tr>
  88. <tbody>
  89. <tr class="altColor">
  90. <td class="colFirst"><code>protected <a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a></code></td>
  91. <td class="colLast"><span class="typeNameLabel">Parser.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/cli/Parser.html#cmd">cmd</a></span></code>
  92. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
  93. <div class="block">commandline instance</div>
  94. </td>
  95. </tr>
  96. <tr class="rowColor">
  97. <td class="colFirst"><code>protected <a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a></code></td>
  98. <td class="colLast"><span class="typeNameLabel">DefaultParser.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/cli/DefaultParser.html#cmd">cmd</a></span></code>
  99. <div class="block">The command-line instance.</div>
  100. </td>
  101. </tr>
  102. </tbody>
  103. </table>
  104. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
  105. <caption><span>Methods in <a href="../../../../../org/apache/commons/cli/package-summary.html">org.apache.commons.cli</a> that return <a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a></span><span class="tabEnd">&nbsp;</span></caption>
  106. <tr>
  107. <th class="colFirst" scope="col">Modifier and Type</th>
  108. <th class="colLast" scope="col">Method and Description</th>
  109. </tr>
  110. <tbody>
  111. <tr class="altColor">
  112. <td class="colFirst"><code><a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a></code></td>
  113. <td class="colLast"><span class="typeNameLabel">CommandLine.Builder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/cli/CommandLine.Builder.html#build--">build</a></span>()</code>&nbsp;</td>
  114. </tr>
  115. <tr class="rowColor">
  116. <td class="colFirst"><code><a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a></code></td>
  117. <td class="colLast"><span class="typeNameLabel">Parser.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/cli/Parser.html#parse-org.apache.commons.cli.Options-java.lang.String:A-">parse</a></span>(<a href="../../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli">Options</a>&nbsp;options,
  118. <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;arguments)</code>
  119. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
  120. <div class="block">Parses the specified <code>arguments</code> based
  121. on the specified <a href="../../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli"><code>Options</code></a>.</div>
  122. </td>
  123. </tr>
  124. <tr class="altColor">
  125. <td class="colFirst"><code><a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a></code></td>
  126. <td class="colLast"><span class="typeNameLabel">DefaultParser.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/cli/DefaultParser.html#parse-org.apache.commons.cli.Options-java.lang.String:A-">parse</a></span>(<a href="../../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli">Options</a>&nbsp;options,
  127. <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;arguments)</code>&nbsp;</td>
  128. </tr>
  129. <tr class="rowColor">
  130. <td class="colFirst"><code><a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a></code></td>
  131. <td class="colLast"><span class="typeNameLabel">CommandLineParser.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/cli/CommandLineParser.html#parse-org.apache.commons.cli.Options-java.lang.String:A-">parse</a></span>(<a href="../../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli">Options</a>&nbsp;options,
  132. <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;arguments)</code>
  133. <div class="block">Parse the arguments according to the specified options.</div>
  134. </td>
  135. </tr>
  136. <tr class="altColor">
  137. <td class="colFirst"><code><a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a></code></td>
  138. <td class="colLast"><span class="typeNameLabel">Parser.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/cli/Parser.html#parse-org.apache.commons.cli.Options-java.lang.String:A-boolean-">parse</a></span>(<a href="../../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli">Options</a>&nbsp;options,
  139. <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;arguments,
  140. boolean&nbsp;stopAtNonOption)</code>
  141. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
  142. <div class="block">Parses the specified <code>arguments</code>
  143. based on the specified <a href="../../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli"><code>Options</code></a>.</div>
  144. </td>
  145. </tr>
  146. <tr class="rowColor">
  147. <td class="colFirst"><code><a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a></code></td>
  148. <td class="colLast"><span class="typeNameLabel">DefaultParser.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/cli/DefaultParser.html#parse-org.apache.commons.cli.Options-java.lang.String:A-boolean-">parse</a></span>(<a href="../../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli">Options</a>&nbsp;options,
  149. <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;arguments,
  150. boolean&nbsp;stopAtNonOption)</code>&nbsp;</td>
  151. </tr>
  152. <tr class="altColor">
  153. <td class="colFirst"><code><a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a></code></td>
  154. <td class="colLast"><span class="typeNameLabel">CommandLineParser.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/cli/CommandLineParser.html#parse-org.apache.commons.cli.Options-java.lang.String:A-boolean-">parse</a></span>(<a href="../../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli">Options</a>&nbsp;options,
  155. <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;arguments,
  156. boolean&nbsp;stopAtNonOption)</code>
  157. <div class="block">Parse the arguments according to the specified options.</div>
  158. </td>
  159. </tr>
  160. <tr class="rowColor">
  161. <td class="colFirst"><code><a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a></code></td>
  162. <td class="colLast"><span class="typeNameLabel">Parser.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/cli/Parser.html#parse-org.apache.commons.cli.Options-java.lang.String:A-java.util.Properties-">parse</a></span>(<a href="../../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli">Options</a>&nbsp;options,
  163. <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;arguments,
  164. <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;properties)</code>
  165. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
  166. <div class="block">Parse the arguments according to the specified options and properties.</div>
  167. </td>
  168. </tr>
  169. <tr class="altColor">
  170. <td class="colFirst"><code><a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a></code></td>
  171. <td class="colLast"><span class="typeNameLabel">DefaultParser.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/cli/DefaultParser.html#parse-org.apache.commons.cli.Options-java.lang.String:A-java.util.Properties-">parse</a></span>(<a href="../../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli">Options</a>&nbsp;options,
  172. <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;arguments,
  173. <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;properties)</code>
  174. <div class="block">Parse the arguments according to the specified options and properties.</div>
  175. </td>
  176. </tr>
  177. <tr class="rowColor">
  178. <td class="colFirst"><code><a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a></code></td>
  179. <td class="colLast"><span class="typeNameLabel">Parser.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/cli/Parser.html#parse-org.apache.commons.cli.Options-java.lang.String:A-java.util.Properties-boolean-">parse</a></span>(<a href="../../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli">Options</a>&nbsp;options,
  180. <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;arguments,
  181. <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;properties,
  182. boolean&nbsp;stopAtNonOption)</code>
  183. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
  184. <div class="block">Parse the arguments according to the specified options and
  185. properties.</div>
  186. </td>
  187. </tr>
  188. <tr class="altColor">
  189. <td class="colFirst"><code><a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">CommandLine</a></code></td>
  190. <td class="colLast"><span class="typeNameLabel">DefaultParser.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/commons/cli/DefaultParser.html#parse-org.apache.commons.cli.Options-java.lang.String:A-java.util.Properties-boolean-">parse</a></span>(<a href="../../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli">Options</a>&nbsp;options,
  191. <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;arguments,
  192. <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a>&nbsp;properties,
  193. boolean&nbsp;stopAtNonOption)</code>
  194. <div class="block">Parse the arguments according to the specified options and properties.</div>
  195. </td>
  196. </tr>
  197. </tbody>
  198. </table>
  199. </li>
  200. </ul>
  201. </li>
  202. </ul>
  203. </div>
  204. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  205. <div class="bottomNav"><a name="navbar.bottom">
  206. <!-- -->
  207. </a>
  208. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  209. <a name="navbar.bottom.firstrow">
  210. <!-- -->
  211. </a>
  212. <ul class="navList" title="Navigation">
  213. <li><a href="../../../../../org/apache/commons/cli/package-summary.html">Package</a></li>
  214. <li><a href="../../../../../org/apache/commons/cli/CommandLine.html" title="class in org.apache.commons.cli">Class</a></li>
  215. <li class="navBarCell1Rev">Use</li>
  216. <li><a href="../package-tree.html">Tree</a></li>
  217. <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
  218. <li><a href="../../../../../index-all.html">Index</a></li>
  219. <li><a href="../../../../../help-doc.html">Help</a></li>
  220. </ul>
  221. </div>
  222. <div class="subNav">
  223. <ul class="navList">
  224. <li>Prev</li>
  225. <li>Next</li>
  226. </ul>
  227. <ul class="navList">
  228. <li><a href="../../../../../index.html?org/apache/commons/cli/class-use/CommandLine.html" target="_top">Frames</a></li>
  229. <li><a href="CommandLine.html" target="_top">No&nbsp;Frames</a></li>
  230. </ul>
  231. <ul class="navList" id="allclasses_navbar_bottom">
  232. <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  233. </ul>
  234. <div>
  235. <script type="text/javascript"><!--
  236. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  237. if(window==top) {
  238. allClassesLink.style.display = "block";
  239. }
  240. else {
  241. allClassesLink.style.display = "none";
  242. }
  243. //-->
  244. </script>
  245. </div>
  246. <a name="skip.navbar.bottom">
  247. <!-- -->
  248. </a></div>
  249. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  250. <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>
  251. </body>
  252. </html>