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.

PosixParser.html 22 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  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>PosixParser (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="PosixParser (Apache Commons CLI 1.4 API)";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":42,"i1":42};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated 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/PosixParser.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/PatternOptionBuilder.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/TypeHandler.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/PosixParser.html" target="_top">Frames</a></li>
  56. <li><a href="PosixParser.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><a href="#fields.inherited.from.class.org.apache.commons.cli.Parser">Field</a>&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 PosixParser" class="title">Class PosixParser</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="../../../../org/apache/commons/cli/Parser.html" title="class in org.apache.commons.cli">org.apache.commons.cli.Parser</a></li>
  103. <li>
  104. <ul class="inheritance">
  105. <li>org.apache.commons.cli.PosixParser</li>
  106. </ul>
  107. </li>
  108. </ul>
  109. </li>
  110. </ul>
  111. <div class="description">
  112. <ul class="blockList">
  113. <li class="blockList">
  114. <dl>
  115. <dt>All Implemented Interfaces:</dt>
  116. <dd><a href="../../../../org/apache/commons/cli/CommandLineParser.html" title="interface in org.apache.commons.cli">CommandLineParser</a></dd>
  117. </dl>
  118. <hr>
  119. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
  120. <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>
  121. </div>
  122. <br>
  123. <pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
  124. public class <span class="typeNameLabel">PosixParser</span>
  125. extends <a href="../../../../org/apache/commons/cli/Parser.html" title="class in org.apache.commons.cli">Parser</a></pre>
  126. <div class="block">The class PosixParser provides an implementation of the
  127. <a href="../../../../org/apache/commons/cli/Parser.html#flatten-org.apache.commons.cli.Options-java.lang.String:A-boolean-"><code>flatten</code></a> method.</div>
  128. <dl>
  129. <dt><span class="simpleTagLabel">Version:</span></dt>
  130. <dd>$Id: PosixParser.java 1783175 2017-02-16 07:52:05Z britter $</dd>
  131. </dl>
  132. </li>
  133. </ul>
  134. </div>
  135. <div class="summary">
  136. <ul class="blockList">
  137. <li class="blockList">
  138. <!-- =========== FIELD SUMMARY =========== -->
  139. <ul class="blockList">
  140. <li class="blockList"><a name="field.summary">
  141. <!-- -->
  142. </a>
  143. <h3>Field Summary</h3>
  144. <ul class="blockList">
  145. <li class="blockList"><a name="fields.inherited.from.class.org.apache.commons.cli.Parser">
  146. <!-- -->
  147. </a>
  148. <h3>Fields inherited from class&nbsp;org.apache.commons.cli.<a href="../../../../org/apache/commons/cli/Parser.html" title="class in org.apache.commons.cli">Parser</a></h3>
  149. <code><a href="../../../../org/apache/commons/cli/Parser.html#cmd">cmd</a></code></li>
  150. </ul>
  151. </li>
  152. </ul>
  153. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  154. <ul class="blockList">
  155. <li class="blockList"><a name="constructor.summary">
  156. <!-- -->
  157. </a>
  158. <h3>Constructor Summary</h3>
  159. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  160. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  161. <tr>
  162. <th class="colOne" scope="col">Constructor and Description</th>
  163. </tr>
  164. <tr class="altColor">
  165. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/PosixParser.html#PosixParser--">PosixParser</a></span>()</code>
  166. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
  167. &nbsp;</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><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated 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>protected void</code></td>
  186. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/PosixParser.html#burstToken-java.lang.String-boolean-">burstToken</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;token,
  187. boolean&nbsp;stopAtNonOption)</code>
  188. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
  189. <div class="block">Breaks <code>token</code> into its constituent parts
  190. using the following algorithm.</div>
  191. </td>
  192. </tr>
  193. <tr id="i1" class="rowColor">
  194. <td class="colFirst"><code>protected <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>[]</code></td>
  195. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/PosixParser.html#flatten-org.apache.commons.cli.Options-java.lang.String:A-boolean-">flatten</a></span>(<a href="../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli">Options</a>&nbsp;options,
  196. <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,
  197. boolean&nbsp;stopAtNonOption)</code>
  198. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
  199. <div class="block">An implementation of <a href="../../../../org/apache/commons/cli/Parser.html" title="class in org.apache.commons.cli"><code>Parser</code></a>'s abstract
  200. <a href="../../../../org/apache/commons/cli/Parser.html#flatten-org.apache.commons.cli.Options-java.lang.String:A-boolean-"><code>flatten</code></a> method.</div>
  201. </td>
  202. </tr>
  203. </table>
  204. <ul class="blockList">
  205. <li class="blockList"><a name="methods.inherited.from.class.org.apache.commons.cli.Parser">
  206. <!-- -->
  207. </a>
  208. <h3>Methods inherited from class&nbsp;org.apache.commons.cli.<a href="../../../../org/apache/commons/cli/Parser.html" title="class in org.apache.commons.cli">Parser</a></h3>
  209. <code><a href="../../../../org/apache/commons/cli/Parser.html#checkRequiredOptions--">checkRequiredOptions</a>, <a href="../../../../org/apache/commons/cli/Parser.html#getOptions--">getOptions</a>, <a href="../../../../org/apache/commons/cli/Parser.html#getRequiredOptions--">getRequiredOptions</a>, <a href="../../../../org/apache/commons/cli/Parser.html#parse-org.apache.commons.cli.Options-java.lang.String:A-">parse</a>, <a href="../../../../org/apache/commons/cli/Parser.html#parse-org.apache.commons.cli.Options-java.lang.String:A-boolean-">parse</a>, <a href="../../../../org/apache/commons/cli/Parser.html#parse-org.apache.commons.cli.Options-java.lang.String:A-java.util.Properties-">parse</a>, <a href="../../../../org/apache/commons/cli/Parser.html#parse-org.apache.commons.cli.Options-java.lang.String:A-java.util.Properties-boolean-">parse</a>, <a href="../../../../org/apache/commons/cli/Parser.html#processArgs-org.apache.commons.cli.Option-java.util.ListIterator-">processArgs</a>, <a href="../../../../org/apache/commons/cli/Parser.html#processOption-java.lang.String-java.util.ListIterator-">processOption</a>, <a href="../../../../org/apache/commons/cli/Parser.html#processProperties-java.util.Properties-">processProperties</a>, <a href="../../../../org/apache/commons/cli/Parser.html#setOptions-org.apache.commons.cli.Options-">setOptions</a></code></li>
  210. </ul>
  211. <ul class="blockList">
  212. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  213. <!-- -->
  214. </a>
  215. <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>
  216. <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#toString--" title="class or interface in java.lang">toString</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>
  217. </ul>
  218. </li>
  219. </ul>
  220. </li>
  221. </ul>
  222. </div>
  223. <div class="details">
  224. <ul class="blockList">
  225. <li class="blockList">
  226. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  227. <ul class="blockList">
  228. <li class="blockList"><a name="constructor.detail">
  229. <!-- -->
  230. </a>
  231. <h3>Constructor Detail</h3>
  232. <a name="PosixParser--">
  233. <!-- -->
  234. </a>
  235. <ul class="blockListLast">
  236. <li class="blockList">
  237. <h4>PosixParser</h4>
  238. <pre>public&nbsp;PosixParser()</pre>
  239. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
  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="flatten-org.apache.commons.cli.Options-java.lang.String:A-boolean-">
  251. <!-- -->
  252. </a>
  253. <ul class="blockList">
  254. <li class="blockList">
  255. <h4>flatten</h4>
  256. <pre>protected&nbsp;<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;flatten(<a href="../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli">Options</a>&nbsp;options,
  257. <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,
  258. boolean&nbsp;stopAtNonOption)
  259. throws <a href="../../../../org/apache/commons/cli/ParseException.html" title="class in org.apache.commons.cli">ParseException</a></pre>
  260. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
  261. <div class="block"><p>An implementation of <a href="../../../../org/apache/commons/cli/Parser.html" title="class in org.apache.commons.cli"><code>Parser</code></a>'s abstract
  262. <a href="../../../../org/apache/commons/cli/Parser.html#flatten-org.apache.commons.cli.Options-java.lang.String:A-boolean-"><code>flatten</code></a> method.</p>
  263. <p>The following are the rules used by this flatten method.</p>
  264. <ol>
  265. <li>if <code>stopAtNonOption</code> is <b>true</b> then do not
  266. burst anymore of <code>arguments</code> entries, just add each
  267. successive entry without further processing. Otherwise, ignore
  268. <code>stopAtNonOption</code>.</li>
  269. <li>if the current <code>arguments</code> entry is "<b>--</b>"
  270. just add the entry to the list of processed tokens</li>
  271. <li>if the current <code>arguments</code> entry is "<b>-</b>"
  272. just add the entry to the list of processed tokens</li>
  273. <li>if the current <code>arguments</code> entry is two characters
  274. in length and the first character is "<b>-</b>" then check if this
  275. is a valid <a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli"><code>Option</code></a> id. If it is a valid id, then add the
  276. entry to the list of processed tokens and set the current <a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli"><code>Option</code></a>
  277. member. If it is not a valid id and <code>stopAtNonOption</code>
  278. is true, then the remaining entries are copied to the list of
  279. processed tokens. Otherwise, the current entry is ignored.</li>
  280. <li>if the current <code>arguments</code> entry is more than two
  281. characters in length and the first character is "<b>-</b>" then
  282. we need to burst the entry to determine its constituents. For more
  283. information on the bursting algorithm see
  284. <a href="../../../../org/apache/commons/cli/PosixParser.html#burstToken-java.lang.String-boolean-"><code>burstToken</code></a>.</li>
  285. <li>if the current <code>arguments</code> entry is not handled
  286. by any of the previous rules, then the entry is added to the list
  287. of processed tokens.</li>
  288. </ol></div>
  289. <dl>
  290. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  291. <dd><code><a href="../../../../org/apache/commons/cli/Parser.html#flatten-org.apache.commons.cli.Options-java.lang.String:A-boolean-">flatten</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/commons/cli/Parser.html" title="class in org.apache.commons.cli">Parser</a></code></dd>
  292. <dt><span class="paramLabel">Parameters:</span></dt>
  293. <dd><code>options</code> - The command line <a href="../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli"><code>Options</code></a></dd>
  294. <dd><code>arguments</code> - The command line arguments to be parsed</dd>
  295. <dd><code>stopAtNonOption</code> - Specifies whether to stop flattening
  296. when an non option is found.</dd>
  297. <dt><span class="returnLabel">Returns:</span></dt>
  298. <dd>The flattened <code>arguments</code> String array.</dd>
  299. <dt><span class="throwsLabel">Throws:</span></dt>
  300. <dd><code><a href="../../../../org/apache/commons/cli/ParseException.html" title="class in org.apache.commons.cli">ParseException</a></code> - if there are any problems encountered
  301. while parsing the command line tokens.</dd>
  302. </dl>
  303. </li>
  304. </ul>
  305. <a name="burstToken-java.lang.String-boolean-">
  306. <!-- -->
  307. </a>
  308. <ul class="blockListLast">
  309. <li class="blockList">
  310. <h4>burstToken</h4>
  311. <pre>protected&nbsp;void&nbsp;burstToken(<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;token,
  312. boolean&nbsp;stopAtNonOption)</pre>
  313. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
  314. <div class="block">Breaks <code>token</code> into its constituent parts
  315. using the following algorithm.
  316. <ul>
  317. <li>ignore the first character ("<b>-</b>")</li>
  318. <li>for each remaining character check if an <a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli"><code>Option</code></a>
  319. exists with that id.</li>
  320. <li>if an <a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli"><code>Option</code></a> does exist then add that character
  321. prepended with "<b>-</b>" to the list of processed tokens.</li>
  322. <li>if the <a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli"><code>Option</code></a> can have an argument value and there
  323. are remaining characters in the token then add the remaining
  324. characters as a token to the list of processed tokens.</li>
  325. <li>if an <a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli"><code>Option</code></a> does <b>NOT</b> exist <b>AND</b>
  326. <code>stopAtNonOption</code> <b>IS</b> set then add the special token
  327. "<b>--</b>" followed by the remaining characters and also
  328. the remaining tokens directly to the processed tokens list.</li>
  329. <li>if an <a href="../../../../org/apache/commons/cli/Option.html" title="class in org.apache.commons.cli"><code>Option</code></a> does <b>NOT</b> exist <b>AND</b>
  330. <code>stopAtNonOption</code> <b>IS NOT</b> set then add that
  331. character prepended with "<b>-</b>".</li>
  332. </ul></div>
  333. <dl>
  334. <dt><span class="paramLabel">Parameters:</span></dt>
  335. <dd><code>token</code> - The current token to be <b>burst</b></dd>
  336. <dd><code>stopAtNonOption</code> - Specifies whether to stop processing
  337. at the first non-Option encountered.</dd>
  338. </dl>
  339. </li>
  340. </ul>
  341. </li>
  342. </ul>
  343. </li>
  344. </ul>
  345. </div>
  346. </div>
  347. <!-- ========= END OF CLASS DATA ========= -->
  348. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  349. <div class="bottomNav"><a name="navbar.bottom">
  350. <!-- -->
  351. </a>
  352. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  353. <a name="navbar.bottom.firstrow">
  354. <!-- -->
  355. </a>
  356. <ul class="navList" title="Navigation">
  357. <li><a href="../../../../org/apache/commons/cli/package-summary.html">Package</a></li>
  358. <li class="navBarCell1Rev">Class</li>
  359. <li><a href="class-use/PosixParser.html">Use</a></li>
  360. <li><a href="package-tree.html">Tree</a></li>
  361. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  362. <li><a href="../../../../index-all.html">Index</a></li>
  363. <li><a href="../../../../help-doc.html">Help</a></li>
  364. </ul>
  365. </div>
  366. <div class="subNav">
  367. <ul class="navList">
  368. <li><a href="../../../../org/apache/commons/cli/PatternOptionBuilder.html" title="class in org.apache.commons.cli"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  369. <li><a href="../../../../org/apache/commons/cli/TypeHandler.html" title="class in org.apache.commons.cli"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  370. </ul>
  371. <ul class="navList">
  372. <li><a href="../../../../index.html?org/apache/commons/cli/PosixParser.html" target="_top">Frames</a></li>
  373. <li><a href="PosixParser.html" target="_top">No&nbsp;Frames</a></li>
  374. </ul>
  375. <ul class="navList" id="allclasses_navbar_bottom">
  376. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  377. </ul>
  378. <div>
  379. <script type="text/javascript"><!--
  380. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  381. if(window==top) {
  382. allClassesLink.style.display = "block";
  383. }
  384. else {
  385. allClassesLink.style.display = "none";
  386. }
  387. //-->
  388. </script>
  389. </div>
  390. <div>
  391. <ul class="subNavList">
  392. <li>Summary:&nbsp;</li>
  393. <li>Nested&nbsp;|&nbsp;</li>
  394. <li><a href="#fields.inherited.from.class.org.apache.commons.cli.Parser">Field</a>&nbsp;|&nbsp;</li>
  395. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  396. <li><a href="#method.summary">Method</a></li>
  397. </ul>
  398. <ul class="subNavList">
  399. <li>Detail:&nbsp;</li>
  400. <li>Field&nbsp;|&nbsp;</li>
  401. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  402. <li><a href="#method.detail">Method</a></li>
  403. </ul>
  404. </div>
  405. <a name="skip.navbar.bottom">
  406. <!-- -->
  407. </a></div>
  408. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  409. <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>
  410. </body>
  411. </html>