Skip to content

Commit

Permalink
Mentioning Charset converter in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarg committed Oct 7, 2023
1 parent 85ff07b commit fc613cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ $ java Main -l 512 --pattern 2

The fields representing your parameters can be of any type. Basic types (`Integer`, `Boolean`, `Enum`, etc...) are supported by default and you can write type converters to support any other type (custom types, etc...).

In fact, JCommander provides a rather comprehensive set of built-in conversions for commonly used special types, just to name the most notable ones (list is incomplete): `char[]`, `File`, `Path`, `URI`, `URL`, `InetAddress`, `Date` (ISO 8601), ByteOrder.
In fact, JCommander provides a rather comprehensive set of built-in conversions for commonly used special types, just to name the most notable ones (list is incomplete): `char[]`, `File`, `Path`, `URI`, `URL`, `InetAddress`, `Date` (ISO 8601), ByteOrder, Charset.


=== Boolean
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ <h2 id="_types_of_options">2. Types of options</h2>
<p>The fields representing your parameters can be of any type. Basic types (<code>Integer</code>, <code>Boolean</code>, <code>Enum</code>, etc&#8230;&#8203;) are supported by default and you can write type converters to support any other type (custom types, etc&#8230;&#8203;).</p>
</div>
<div class="paragraph">
<p>In fact, JCommander provides a rather comprehensive set of built-in conversions for commonly used special types, just to name the most notable ones (list is incomplete): <code>char[]</code>, <code>File</code>, <code>Path</code>, <code>URI</code>, <code>URL</code>, <code>InetAddress</code>, <code>Date</code> (ISO 8601), ByteOrder.</p>
<p>In fact, JCommander provides a rather comprehensive set of built-in conversions for commonly used special types, just to name the most notable ones (list is incomplete): <code>char[]</code>, <code>File</code>, <code>Path</code>, <code>URI</code>, <code>URL</code>, <code>InetAddress</code>, <code>Date</code> (ISO 8601), ByteOrder, Charset.</p>
</div>
<div class="sect2">
<h3 id="_boolean">2.1. Boolean</h3>
Expand Down Expand Up @@ -2204,7 +2204,7 @@ <h2 id="_download">29. Download</h2>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-10-07 14:21:05 UTC
Last updated 2023-10-07 16:10:26 UTC
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prettify/r298/run_prettify.min.js"></script>
Expand Down

0 comments on commit fc613cf

Please sign in to comment.