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.
 
 
 
 

524 lines
25 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>PatternOptionBuilder (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="PatternOptionBuilder (Apache Commons CLI 1.4 API)";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":9,"i1":9,"i2":9};
  22. var tabs = {65535:["t0","All Methods"],1:["t1","Static 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/PatternOptionBuilder.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/Parser.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/PosixParser.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/PatternOptionBuilder.html" target="_top">Frames</a></li>
  56. <li><a href="PatternOptionBuilder.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="#field.summary">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><a href="#field.detail">Field</a>&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 PatternOptionBuilder" class="title">Class PatternOptionBuilder</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>org.apache.commons.cli.PatternOptionBuilder</li>
  103. </ul>
  104. </li>
  105. </ul>
  106. <div class="description">
  107. <ul class="blockList">
  108. <li class="blockList">
  109. <hr>
  110. <br>
  111. <pre>public class <span class="typeNameLabel">PatternOptionBuilder</span>
  112. extends <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></pre>
  113. <div class="block"><p>Allows Options to be created from a single String.
  114. The pattern contains various single character flags and via
  115. an optional punctuation character, their expected type.
  116. </p>
  117. <table border="1">
  118. <caption>Overview of PatternOptionBuilder patterns</caption>
  119. <tr><td>a</td><td>-a flag</td></tr>
  120. <tr><td>b@</td><td>-b [classname]</td></tr>
  121. <tr><td>c&gt;</td><td>-c [filename]</td></tr>
  122. <tr><td>d+</td><td>-d [classname] (creates object via empty constructor)</td></tr>
  123. <tr><td>e%</td><td>-e [number] (creates Double/Long instance depending on existing of a '.')</td></tr>
  124. <tr><td>f/</td><td>-f [url]</td></tr>
  125. <tr><td>g:</td><td>-g [string]</td></tr>
  126. </table>
  127. <p>
  128. For example, the following allows command line flags of '-v -p string-value -f /dir/file'.
  129. The exclamation mark precede a mandatory option.
  130. </p>
  131. <pre>
  132. Options options = PatternOptionBuilder.parsePattern("vp:!f/");
  133. </pre>
  134. <p>
  135. TODO: These need to break out to OptionType and also to be pluggable.
  136. </p></div>
  137. <dl>
  138. <dt><span class="simpleTagLabel">Version:</span></dt>
  139. <dd>$Id: PatternOptionBuilder.java 1677406 2015-05-03 14:27:31Z britter $</dd>
  140. </dl>
  141. </li>
  142. </ul>
  143. </div>
  144. <div class="summary">
  145. <ul class="blockList">
  146. <li class="blockList">
  147. <!-- =========== FIELD SUMMARY =========== -->
  148. <ul class="blockList">
  149. <li class="blockList"><a name="field.summary">
  150. <!-- -->
  151. </a>
  152. <h3>Field Summary</h3>
  153. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  154. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  155. <tr>
  156. <th class="colFirst" scope="col">Modifier and Type</th>
  157. <th class="colLast" scope="col">Field and Description</th>
  158. </tr>
  159. <tr class="altColor">
  160. <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
  161. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/PatternOptionBuilder.html#CLASS_VALUE">CLASS_VALUE</a></span></code>
  162. <div class="block">Class class</div>
  163. </td>
  164. </tr>
  165. <tr class="rowColor">
  166. <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a>&gt;</code></td>
  167. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/PatternOptionBuilder.html#DATE_VALUE">DATE_VALUE</a></span></code>
  168. <div class="block">Date class</div>
  169. </td>
  170. </tr>
  171. <tr class="altColor">
  172. <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/FileInputStream.html?is-external=true" title="class or interface in java.io">FileInputStream</a>&gt;</code></td>
  173. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/PatternOptionBuilder.html#EXISTING_FILE_VALUE">EXISTING_FILE_VALUE</a></span></code>
  174. <div class="block">FileInputStream class</div>
  175. </td>
  176. </tr>
  177. <tr class="rowColor">
  178. <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&gt;</code></td>
  179. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/PatternOptionBuilder.html#FILE_VALUE">FILE_VALUE</a></span></code>
  180. <div class="block">File class</div>
  181. </td>
  182. </tr>
  183. <tr class="altColor">
  184. <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>[]&gt;</code></td>
  185. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/PatternOptionBuilder.html#FILES_VALUE">FILES_VALUE</a></span></code>
  186. <div class="block">File array class</div>
  187. </td>
  188. </tr>
  189. <tr class="rowColor">
  190. <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&gt;</code></td>
  191. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/PatternOptionBuilder.html#NUMBER_VALUE">NUMBER_VALUE</a></span></code>
  192. <div class="block">Number class</div>
  193. </td>
  194. </tr>
  195. <tr class="altColor">
  196. <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<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>&gt;</code></td>
  197. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/PatternOptionBuilder.html#OBJECT_VALUE">OBJECT_VALUE</a></span></code>
  198. <div class="block">Object class</div>
  199. </td>
  200. </tr>
  201. <tr class="rowColor">
  202. <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</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>
  203. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/PatternOptionBuilder.html#STRING_VALUE">STRING_VALUE</a></span></code>
  204. <div class="block">String class</div>
  205. </td>
  206. </tr>
  207. <tr class="altColor">
  208. <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&gt;</code></td>
  209. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/PatternOptionBuilder.html#URL_VALUE">URL_VALUE</a></span></code>
  210. <div class="block">URL class</div>
  211. </td>
  212. </tr>
  213. </table>
  214. </li>
  215. </ul>
  216. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  217. <ul class="blockList">
  218. <li class="blockList"><a name="constructor.summary">
  219. <!-- -->
  220. </a>
  221. <h3>Constructor Summary</h3>
  222. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  223. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  224. <tr>
  225. <th class="colOne" scope="col">Constructor and Description</th>
  226. </tr>
  227. <tr class="altColor">
  228. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/PatternOptionBuilder.html#PatternOptionBuilder--">PatternOptionBuilder</a></span>()</code>&nbsp;</td>
  229. </tr>
  230. </table>
  231. </li>
  232. </ul>
  233. <!-- ========== METHOD SUMMARY =========== -->
  234. <ul class="blockList">
  235. <li class="blockList"><a name="method.summary">
  236. <!-- -->
  237. </a>
  238. <h3>Method Summary</h3>
  239. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  240. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static 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>
  241. <tr>
  242. <th class="colFirst" scope="col">Modifier and Type</th>
  243. <th class="colLast" scope="col">Method and Description</th>
  244. </tr>
  245. <tr id="i0" class="altColor">
  246. <td class="colFirst"><code>static <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></code></td>
  247. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/PatternOptionBuilder.html#getValueClass-char-">getValueClass</a></span>(char&nbsp;ch)</code>
  248. <div class="block">Retrieve the class that <code>ch</code> represents.</div>
  249. </td>
  250. </tr>
  251. <tr id="i1" class="rowColor">
  252. <td class="colFirst"><code>static boolean</code></td>
  253. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/PatternOptionBuilder.html#isValueCode-char-">isValueCode</a></span>(char&nbsp;ch)</code>
  254. <div class="block">Returns whether <code>ch</code> is a value code, i.e.</div>
  255. </td>
  256. </tr>
  257. <tr id="i2" class="altColor">
  258. <td class="colFirst"><code>static <a href="../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli">Options</a></code></td>
  259. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/cli/PatternOptionBuilder.html#parsePattern-java.lang.String-">parsePattern</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;pattern)</code>
  260. <div class="block">Returns the <a href="../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli"><code>Options</code></a> instance represented by <code>pattern</code>.</div>
  261. </td>
  262. </tr>
  263. </table>
  264. <ul class="blockList">
  265. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  266. <!-- -->
  267. </a>
  268. <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>
  269. <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>
  270. </ul>
  271. </li>
  272. </ul>
  273. </li>
  274. </ul>
  275. </div>
  276. <div class="details">
  277. <ul class="blockList">
  278. <li class="blockList">
  279. <!-- ============ FIELD DETAIL =========== -->
  280. <ul class="blockList">
  281. <li class="blockList"><a name="field.detail">
  282. <!-- -->
  283. </a>
  284. <h3>Field Detail</h3>
  285. <a name="STRING_VALUE">
  286. <!-- -->
  287. </a>
  288. <ul class="blockList">
  289. <li class="blockList">
  290. <h4>STRING_VALUE</h4>
  291. <pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</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; STRING_VALUE</pre>
  292. <div class="block">String class</div>
  293. </li>
  294. </ul>
  295. <a name="OBJECT_VALUE">
  296. <!-- -->
  297. </a>
  298. <ul class="blockList">
  299. <li class="blockList">
  300. <h4>OBJECT_VALUE</h4>
  301. <pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<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>&gt; OBJECT_VALUE</pre>
  302. <div class="block">Object class</div>
  303. </li>
  304. </ul>
  305. <a name="NUMBER_VALUE">
  306. <!-- -->
  307. </a>
  308. <ul class="blockList">
  309. <li class="blockList">
  310. <h4>NUMBER_VALUE</h4>
  311. <pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&gt; NUMBER_VALUE</pre>
  312. <div class="block">Number class</div>
  313. </li>
  314. </ul>
  315. <a name="DATE_VALUE">
  316. <!-- -->
  317. </a>
  318. <ul class="blockList">
  319. <li class="blockList">
  320. <h4>DATE_VALUE</h4>
  321. <pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a>&gt; DATE_VALUE</pre>
  322. <div class="block">Date class</div>
  323. </li>
  324. </ul>
  325. <a name="CLASS_VALUE">
  326. <!-- -->
  327. </a>
  328. <ul class="blockList">
  329. <li class="blockList">
  330. <h4>CLASS_VALUE</h4>
  331. <pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt; CLASS_VALUE</pre>
  332. <div class="block">Class class</div>
  333. </li>
  334. </ul>
  335. <a name="EXISTING_FILE_VALUE">
  336. <!-- -->
  337. </a>
  338. <ul class="blockList">
  339. <li class="blockList">
  340. <h4>EXISTING_FILE_VALUE</h4>
  341. <pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/FileInputStream.html?is-external=true" title="class or interface in java.io">FileInputStream</a>&gt; EXISTING_FILE_VALUE</pre>
  342. <div class="block">FileInputStream class</div>
  343. </li>
  344. </ul>
  345. <a name="FILE_VALUE">
  346. <!-- -->
  347. </a>
  348. <ul class="blockList">
  349. <li class="blockList">
  350. <h4>FILE_VALUE</h4>
  351. <pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&gt; FILE_VALUE</pre>
  352. <div class="block">File class</div>
  353. </li>
  354. </ul>
  355. <a name="FILES_VALUE">
  356. <!-- -->
  357. </a>
  358. <ul class="blockList">
  359. <li class="blockList">
  360. <h4>FILES_VALUE</h4>
  361. <pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>[]&gt; FILES_VALUE</pre>
  362. <div class="block">File array class</div>
  363. </li>
  364. </ul>
  365. <a name="URL_VALUE">
  366. <!-- -->
  367. </a>
  368. <ul class="blockListLast">
  369. <li class="blockList">
  370. <h4>URL_VALUE</h4>
  371. <pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&gt; URL_VALUE</pre>
  372. <div class="block">URL class</div>
  373. </li>
  374. </ul>
  375. </li>
  376. </ul>
  377. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  378. <ul class="blockList">
  379. <li class="blockList"><a name="constructor.detail">
  380. <!-- -->
  381. </a>
  382. <h3>Constructor Detail</h3>
  383. <a name="PatternOptionBuilder--">
  384. <!-- -->
  385. </a>
  386. <ul class="blockListLast">
  387. <li class="blockList">
  388. <h4>PatternOptionBuilder</h4>
  389. <pre>public&nbsp;PatternOptionBuilder()</pre>
  390. </li>
  391. </ul>
  392. </li>
  393. </ul>
  394. <!-- ============ METHOD DETAIL ========== -->
  395. <ul class="blockList">
  396. <li class="blockList"><a name="method.detail">
  397. <!-- -->
  398. </a>
  399. <h3>Method Detail</h3>
  400. <a name="getValueClass-char-">
  401. <!-- -->
  402. </a>
  403. <ul class="blockList">
  404. <li class="blockList">
  405. <h4>getValueClass</h4>
  406. <pre>public static&nbsp;<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>&nbsp;getValueClass(char&nbsp;ch)</pre>
  407. <div class="block">Retrieve the class that <code>ch</code> represents.</div>
  408. <dl>
  409. <dt><span class="paramLabel">Parameters:</span></dt>
  410. <dd><code>ch</code> - the specified character</dd>
  411. <dt><span class="returnLabel">Returns:</span></dt>
  412. <dd>The class that <code>ch</code> represents</dd>
  413. </dl>
  414. </li>
  415. </ul>
  416. <a name="isValueCode-char-">
  417. <!-- -->
  418. </a>
  419. <ul class="blockList">
  420. <li class="blockList">
  421. <h4>isValueCode</h4>
  422. <pre>public static&nbsp;boolean&nbsp;isValueCode(char&nbsp;ch)</pre>
  423. <div class="block">Returns whether <code>ch</code> is a value code, i.e.
  424. whether it represents a class in a pattern.</div>
  425. <dl>
  426. <dt><span class="paramLabel">Parameters:</span></dt>
  427. <dd><code>ch</code> - the specified character</dd>
  428. <dt><span class="returnLabel">Returns:</span></dt>
  429. <dd>true if <code>ch</code> is a value code, otherwise false.</dd>
  430. </dl>
  431. </li>
  432. </ul>
  433. <a name="parsePattern-java.lang.String-">
  434. <!-- -->
  435. </a>
  436. <ul class="blockListLast">
  437. <li class="blockList">
  438. <h4>parsePattern</h4>
  439. <pre>public static&nbsp;<a href="../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli">Options</a>&nbsp;parsePattern(<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;pattern)</pre>
  440. <div class="block">Returns the <a href="../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli"><code>Options</code></a> instance represented by <code>pattern</code>.</div>
  441. <dl>
  442. <dt><span class="paramLabel">Parameters:</span></dt>
  443. <dd><code>pattern</code> - the pattern string</dd>
  444. <dt><span class="returnLabel">Returns:</span></dt>
  445. <dd>The <a href="../../../../org/apache/commons/cli/Options.html" title="class in org.apache.commons.cli"><code>Options</code></a> instance</dd>
  446. </dl>
  447. </li>
  448. </ul>
  449. </li>
  450. </ul>
  451. </li>
  452. </ul>
  453. </div>
  454. </div>
  455. <!-- ========= END OF CLASS DATA ========= -->
  456. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  457. <div class="bottomNav"><a name="navbar.bottom">
  458. <!-- -->
  459. </a>
  460. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  461. <a name="navbar.bottom.firstrow">
  462. <!-- -->
  463. </a>
  464. <ul class="navList" title="Navigation">
  465. <li><a href="../../../../org/apache/commons/cli/package-summary.html">Package</a></li>
  466. <li class="navBarCell1Rev">Class</li>
  467. <li><a href="class-use/PatternOptionBuilder.html">Use</a></li>
  468. <li><a href="package-tree.html">Tree</a></li>
  469. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  470. <li><a href="../../../../index-all.html">Index</a></li>
  471. <li><a href="../../../../help-doc.html">Help</a></li>
  472. </ul>
  473. </div>
  474. <div class="subNav">
  475. <ul class="navList">
  476. <li><a href="../../../../org/apache/commons/cli/Parser.html" title="class in org.apache.commons.cli"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  477. <li><a href="../../../../org/apache/commons/cli/PosixParser.html" title="class in org.apache.commons.cli"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  478. </ul>
  479. <ul class="navList">
  480. <li><a href="../../../../index.html?org/apache/commons/cli/PatternOptionBuilder.html" target="_top">Frames</a></li>
  481. <li><a href="PatternOptionBuilder.html" target="_top">No&nbsp;Frames</a></li>
  482. </ul>
  483. <ul class="navList" id="allclasses_navbar_bottom">
  484. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  485. </ul>
  486. <div>
  487. <script type="text/javascript"><!--
  488. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  489. if(window==top) {
  490. allClassesLink.style.display = "block";
  491. }
  492. else {
  493. allClassesLink.style.display = "none";
  494. }
  495. //-->
  496. </script>
  497. </div>
  498. <div>
  499. <ul class="subNavList">
  500. <li>Summary:&nbsp;</li>
  501. <li>Nested&nbsp;|&nbsp;</li>
  502. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  503. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  504. <li><a href="#method.summary">Method</a></li>
  505. </ul>
  506. <ul class="subNavList">
  507. <li>Detail:&nbsp;</li>
  508. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  509. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  510. <li><a href="#method.detail">Method</a></li>
  511. </ul>
  512. </div>
  513. <a name="skip.navbar.bottom">
  514. <!-- -->
  515. </a></div>
  516. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  517. <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>
  518. </body>
  519. </html>