commons-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chtom...@apache.org
Subject svn commit: r1008161 [44/44] - in /websites/production/commons/content/proper/commons-text: ./ apidocs/ apidocs/org/apache/commons/text/ apidocs/org/apache/commons/text/class-use/ apidocs/org/apache/commons/text/diff/ apidocs/org/apache/commons/text/di...
Date Sun, 12 Mar 2017 02:08:05 GMT
Modified: websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/SinglePassTranslator.html
==============================================================================
--- websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/SinglePassTranslator.html (original)
+++ websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/SinglePassTranslator.html Sun Mar 12 02:08:01 2017
@@ -36,8 +36,8 @@
 <a class="jxr_linenumber" name="L28" href="#L28">28</a>      @Override
 <a class="jxr_linenumber" name="L29" href="#L29">29</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> translate(<strong class="jxr_keyword">final</strong> CharSequence input, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> index, <strong class="jxr_keyword">final</strong> Writer out) <strong class="jxr_keyword">throws</strong> IOException {
 <a class="jxr_linenumber" name="L30" href="#L30">30</a>          <strong class="jxr_keyword">if</strong> (index != 0) {
-<a class="jxr_linenumber" name="L31" href="#L31">31</a>              <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(getClassName() + <span class="jxr_string">".translate(final CharSequence input, final int "</span> +
-<a class="jxr_linenumber" name="L32" href="#L32">32</a>                      <span class="jxr_string">"index, final Writer out) can not handle a non-zero index."</span>);
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>              <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(getClassName() + <span class="jxr_string">".translate(final CharSequence input, final int "</span>
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>                      + <span class="jxr_string">"index, final Writer out) can not handle a non-zero index."</span>);
 <a class="jxr_linenumber" name="L33" href="#L33">33</a>          }
 <a class="jxr_linenumber" name="L34" href="#L34">34</a>  
 <a class="jxr_linenumber" name="L35" href="#L35">35</a>          translateWhole(input, out);
@@ -45,21 +45,25 @@
 <a class="jxr_linenumber" name="L37" href="#L37">37</a>          <strong class="jxr_keyword">return</strong> Character.codePointCount(input, index, input.length());
 <a class="jxr_linenumber" name="L38" href="#L38">38</a>      }
 <a class="jxr_linenumber" name="L39" href="#L39">39</a>  
-<a class="jxr_linenumber" name="L40" href="#L40">40</a>      <strong class="jxr_keyword">private</strong> String getClassName() {
-<a class="jxr_linenumber" name="L41" href="#L41">41</a>          <strong class="jxr_keyword">final</strong> Class&lt;? <strong class="jxr_keyword">extends</strong> SinglePassTranslator&gt; clazz = <strong class="jxr_keyword">this</strong>.getClass();
-<a class="jxr_linenumber" name="L42" href="#L42">42</a>          <strong class="jxr_keyword">return</strong> clazz.isAnonymousClass() ?  clazz.getName() : clazz.getSimpleName();
-<a class="jxr_linenumber" name="L43" href="#L43">43</a>      }
-<a class="jxr_linenumber" name="L44" href="#L44">44</a>  
-<a class="jxr_linenumber" name="L45" href="#L45">45</a>      <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L46" href="#L46">46</a>  <em class="jxr_javadoccomment">     * Translate whole set of code points passed in input.</em>
-<a class="jxr_linenumber" name="L47" href="#L47">47</a>  <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="L48" href="#L48">48</a>  <em class="jxr_javadoccomment">     * @param input CharSequence that is being translated</em>
-<a class="jxr_linenumber" name="L49" href="#L49">49</a>  <em class="jxr_javadoccomment">     * @param out Writer to translate the text to</em>
-<a class="jxr_linenumber" name="L50" href="#L50">50</a>  <em class="jxr_javadoccomment">     * @return total count of codepoints in input</em>
-<a class="jxr_linenumber" name="L51" href="#L51">51</a>  <em class="jxr_javadoccomment">     * @throws IOException if and only if the Writer produces an IOException</em>
-<a class="jxr_linenumber" name="L52" href="#L52">52</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L53" href="#L53">53</a>      <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">void</strong> translateWhole(<strong class="jxr_keyword">final</strong> CharSequence input, <strong class="jxr_keyword">final</strong> Writer out) <strong class="jxr_keyword">throws</strong> IOException;
-<a class="jxr_linenumber" name="L54" href="#L54">54</a>  }
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>  <em class="jxr_javadoccomment">     * A utility method to be used in the {@link #translate(CharSequence, int, Writer)} method.</em>
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>  <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>  <em class="jxr_javadoccomment">     * @return the name of this or the extending class.</em>
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>      <strong class="jxr_keyword">private</strong> String getClassName() {
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>          <strong class="jxr_keyword">final</strong> Class&lt;? <strong class="jxr_keyword">extends</strong> SinglePassTranslator&gt; clazz = <strong class="jxr_keyword">this</strong>.getClass();
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>          <strong class="jxr_keyword">return</strong> clazz.isAnonymousClass() ?  clazz.getName() : clazz.getSimpleName();
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>      }
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>  
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>  <em class="jxr_javadoccomment">     * Translate whole set of code points passed in input.</em>
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>  <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>  <em class="jxr_javadoccomment">     * @param input CharSequence that is being translated</em>
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>  <em class="jxr_javadoccomment">     * @param out Writer to translate the text to</em>
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>  <em class="jxr_javadoccomment">     * @throws IOException if and only if the Writer produces an IOException</em>
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>      <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">void</strong> translateWhole(<strong class="jxr_keyword">final</strong> CharSequence input, <strong class="jxr_keyword">final</strong> Writer out) <strong class="jxr_keyword">throws</strong> IOException;
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>  }
 </pre>
 <hr/>
 <div id="footer">Copyright &#169; 2014&#x2013;2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>

Modified: websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/UnicodeEscaper.html
==============================================================================
--- websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/UnicodeEscaper.html (original)
+++ websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/UnicodeEscaper.html Sun Mar 12 02:08:01 2017
@@ -34,115 +34,118 @@
 <a class="jxr_linenumber" name="L26" href="#L26">26</a>  <em class="jxr_javadoccomment"> */</em>
 <a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../org/apache/commons/text/translate/CodePointTranslator.html">CodePointTranslator</a> {
 <a class="jxr_linenumber" name="L28" href="#L28">28</a>  
-<a class="jxr_linenumber" name="L29" href="#L29">29</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> below;
-<a class="jxr_linenumber" name="L30" href="#L30">30</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> above;
-<a class="jxr_linenumber" name="L31" href="#L31">31</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> between;
-<a class="jxr_linenumber" name="L32" href="#L32">32</a>  
-<a class="jxr_linenumber" name="L33" href="#L33">33</a>      <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L34" href="#L34">34</a>  <em class="jxr_javadoccomment">     * &lt;p&gt;Constructs a &lt;code&gt;UnicodeEscaper&lt;/code&gt; for all characters. &lt;/p&gt;</em>
-<a class="jxr_linenumber" name="L35" href="#L35">35</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L36" href="#L36">36</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a>(){
-<a class="jxr_linenumber" name="L37" href="#L37">37</a>          <strong class="jxr_keyword">this</strong>(0, Integer.MAX_VALUE, <strong class="jxr_keyword">true</strong>);
-<a class="jxr_linenumber" name="L38" href="#L38">38</a>      }
-<a class="jxr_linenumber" name="L39" href="#L39">39</a>  
-<a class="jxr_linenumber" name="L40" href="#L40">40</a>      <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L41" href="#L41">41</a>  <em class="jxr_javadoccomment">     * &lt;p&gt;Constructs a &lt;code&gt;UnicodeEscaper&lt;/code&gt; for the specified range. This is</em>
-<a class="jxr_linenumber" name="L42" href="#L42">42</a>  <em class="jxr_javadoccomment">     * the underlying method for the other constructors/builders. The &lt;code&gt;below&lt;/code&gt;</em>
-<a class="jxr_linenumber" name="L43" href="#L43">43</a>  <em class="jxr_javadoccomment">     * and &lt;code&gt;above&lt;/code&gt; boundaries are inclusive when &lt;code&gt;between&lt;/code&gt; is</em>
-<a class="jxr_linenumber" name="L44" href="#L44">44</a>  <em class="jxr_javadoccomment">     * &lt;code&gt;true&lt;/code&gt; and exclusive when it is &lt;code&gt;false&lt;/code&gt;. &lt;/p&gt;</em>
-<a class="jxr_linenumber" name="L45" href="#L45">45</a>  <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="L46" href="#L46">46</a>  <em class="jxr_javadoccomment">     * @param below int value representing the lowest codepoint boundary</em>
-<a class="jxr_linenumber" name="L47" href="#L47">47</a>  <em class="jxr_javadoccomment">     * @param above int value representing the highest codepoint boundary</em>
-<a class="jxr_linenumber" name="L48" href="#L48">48</a>  <em class="jxr_javadoccomment">     * @param between whether to escape between the boundaries or outside them</em>
-<a class="jxr_linenumber" name="L49" href="#L49">49</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L50" href="#L50">50</a>      <strong class="jxr_keyword">protected</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a>(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> below, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> above, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> between) {
-<a class="jxr_linenumber" name="L51" href="#L51">51</a>          <strong class="jxr_keyword">this</strong>.below = below;
-<a class="jxr_linenumber" name="L52" href="#L52">52</a>          <strong class="jxr_keyword">this</strong>.above = above;
-<a class="jxr_linenumber" name="L53" href="#L53">53</a>          <strong class="jxr_keyword">this</strong>.between = between;
-<a class="jxr_linenumber" name="L54" href="#L54">54</a>      }
-<a class="jxr_linenumber" name="L55" href="#L55">55</a>  
-<a class="jxr_linenumber" name="L56" href="#L56">56</a>      <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L57" href="#L57">57</a>  <em class="jxr_javadoccomment">     * &lt;p&gt;Constructs a &lt;code&gt;UnicodeEscaper&lt;/code&gt; below the specified value (exclusive). &lt;/p&gt;</em>
-<a class="jxr_linenumber" name="L58" href="#L58">58</a>  <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="L59" href="#L59">59</a>  <em class="jxr_javadoccomment">     * @param codepoint below which to escape</em>
-<a class="jxr_linenumber" name="L60" href="#L60">60</a>  <em class="jxr_javadoccomment">     * @return the newly created {@code UnicodeEscaper} instance</em>
-<a class="jxr_linenumber" name="L61" href="#L61">61</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L62" href="#L62">62</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a> below(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> codepoint) {
-<a class="jxr_linenumber" name="L63" href="#L63">63</a>          <strong class="jxr_keyword">return</strong> outsideOf(codepoint, Integer.MAX_VALUE);
-<a class="jxr_linenumber" name="L64" href="#L64">64</a>      }
-<a class="jxr_linenumber" name="L65" href="#L65">65</a>  
-<a class="jxr_linenumber" name="L66" href="#L66">66</a>      <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L67" href="#L67">67</a>  <em class="jxr_javadoccomment">     * &lt;p&gt;Constructs a &lt;code&gt;UnicodeEscaper&lt;/code&gt; above the specified value (exclusive). &lt;/p&gt;</em>
-<a class="jxr_linenumber" name="L68" href="#L68">68</a>  <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="L69" href="#L69">69</a>  <em class="jxr_javadoccomment">     * @param codepoint above which to escape</em>
-<a class="jxr_linenumber" name="L70" href="#L70">70</a>  <em class="jxr_javadoccomment">     * @return the newly created {@code UnicodeEscaper} instance</em>
-<a class="jxr_linenumber" name="L71" href="#L71">71</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L72" href="#L72">72</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a> above(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> codepoint) {
-<a class="jxr_linenumber" name="L73" href="#L73">73</a>          <strong class="jxr_keyword">return</strong> outsideOf(0, codepoint);
-<a class="jxr_linenumber" name="L74" href="#L74">74</a>      }
-<a class="jxr_linenumber" name="L75" href="#L75">75</a>  
-<a class="jxr_linenumber" name="L76" href="#L76">76</a>      <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L77" href="#L77">77</a>  <em class="jxr_javadoccomment">     * &lt;p&gt;Constructs a &lt;code&gt;UnicodeEscaper&lt;/code&gt; outside of the specified values (exclusive). &lt;/p&gt;</em>
-<a class="jxr_linenumber" name="L78" href="#L78">78</a>  <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="L79" href="#L79">79</a>  <em class="jxr_javadoccomment">     * @param codepointLow below which to escape</em>
-<a class="jxr_linenumber" name="L80" href="#L80">80</a>  <em class="jxr_javadoccomment">     * @param codepointHigh above which to escape</em>
-<a class="jxr_linenumber" name="L81" href="#L81">81</a>  <em class="jxr_javadoccomment">     * @return the newly created {@code UnicodeEscaper} instance</em>
-<a class="jxr_linenumber" name="L82" href="#L82">82</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L83" href="#L83">83</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a> outsideOf(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> codepointLow, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> codepointHigh) {
-<a class="jxr_linenumber" name="L84" href="#L84">84</a>          <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a>(codepointLow, codepointHigh, false);
-<a class="jxr_linenumber" name="L85" href="#L85">85</a>      }
-<a class="jxr_linenumber" name="L86" href="#L86">86</a>  
-<a class="jxr_linenumber" name="L87" href="#L87">87</a>      <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L88" href="#L88">88</a>  <em class="jxr_javadoccomment">     * &lt;p&gt;Constructs a &lt;code&gt;UnicodeEscaper&lt;/code&gt; between the specified values (inclusive). &lt;/p&gt;</em>
-<a class="jxr_linenumber" name="L89" href="#L89">89</a>  <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="L90" href="#L90">90</a>  <em class="jxr_javadoccomment">     * @param codepointLow above which to escape</em>
-<a class="jxr_linenumber" name="L91" href="#L91">91</a>  <em class="jxr_javadoccomment">     * @param codepointHigh below which to escape</em>
-<a class="jxr_linenumber" name="L92" href="#L92">92</a>  <em class="jxr_javadoccomment">     * @return the newly created {@code UnicodeEscaper} instance</em>
-<a class="jxr_linenumber" name="L93" href="#L93">93</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L94" href="#L94">94</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a> between(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> codepointLow, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> codepointHigh) {
-<a class="jxr_linenumber" name="L95" href="#L95">95</a>          <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a>(codepointLow, codepointHigh, <strong class="jxr_keyword">true</strong>);
-<a class="jxr_linenumber" name="L96" href="#L96">96</a>      }
-<a class="jxr_linenumber" name="L97" href="#L97">97</a>  
-<a class="jxr_linenumber" name="L98" href="#L98">98</a>      <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L99" href="#L99">99</a>  <em class="jxr_javadoccomment">     * {@inheritDoc}</em>
-<a class="jxr_linenumber" name="L100" href="#L100">100</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L101" href="#L101">101</a>     @Override
-<a class="jxr_linenumber" name="L102" href="#L102">102</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> translate(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> codepoint, <strong class="jxr_keyword">final</strong> Writer out) <strong class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="L103" href="#L103">103</a>         <strong class="jxr_keyword">if</strong> (between) {
-<a class="jxr_linenumber" name="L104" href="#L104">104</a>             <strong class="jxr_keyword">if</strong> (codepoint &lt; below || codepoint &gt; above) {
-<a class="jxr_linenumber" name="L105" href="#L105">105</a>                 <strong class="jxr_keyword">return</strong> false;
-<a class="jxr_linenumber" name="L106" href="#L106">106</a>             }
-<a class="jxr_linenumber" name="L107" href="#L107">107</a>         } <strong class="jxr_keyword">else</strong> {
-<a class="jxr_linenumber" name="L108" href="#L108">108</a>             <strong class="jxr_keyword">if</strong> (codepoint &gt;= below &amp;&amp; codepoint &lt;= above) {
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>      <em class="jxr_javadoccomment">/** int value representing the lowest codepoint boundary. */</em>
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> below;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>      <em class="jxr_javadoccomment">/** int value representing the highest codepoint boundary. */</em>
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> above;
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>      <em class="jxr_javadoccomment">/** whether to escape between the boundaries or outside them. */</em>
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> between;
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>  <em class="jxr_javadoccomment">     * &lt;p&gt;Constructs a &lt;code&gt;UnicodeEscaper&lt;/code&gt; for all characters.</em>
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>  <em class="jxr_javadoccomment">     * &lt;/p&gt;</em>
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a>() {
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>          <strong class="jxr_keyword">this</strong>(0, Integer.MAX_VALUE, <strong class="jxr_keyword">true</strong>);
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>      }
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>  
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>  <em class="jxr_javadoccomment">     * &lt;p&gt;Constructs a &lt;code&gt;UnicodeEscaper&lt;/code&gt; for the specified range. This is</em>
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>  <em class="jxr_javadoccomment">     * the underlying method for the other constructors/builders. The &lt;code&gt;below&lt;/code&gt;</em>
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>  <em class="jxr_javadoccomment">     * and &lt;code&gt;above&lt;/code&gt; boundaries are inclusive when &lt;code&gt;between&lt;/code&gt; is</em>
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>  <em class="jxr_javadoccomment">     * &lt;code&gt;true&lt;/code&gt; and exclusive when it is &lt;code&gt;false&lt;/code&gt;. &lt;/p&gt;</em>
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>  <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>  <em class="jxr_javadoccomment">     * @param below int value representing the lowest codepoint boundary</em>
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>  <em class="jxr_javadoccomment">     * @param above int value representing the highest codepoint boundary</em>
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>  <em class="jxr_javadoccomment">     * @param between whether to escape between the boundaries or outside them</em>
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>      <strong class="jxr_keyword">protected</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a>(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> below, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> above, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> between) {
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>          <strong class="jxr_keyword">this</strong>.below = below;
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>          <strong class="jxr_keyword">this</strong>.above = above;
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>          <strong class="jxr_keyword">this</strong>.between = between;
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>      }
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>  
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>  <em class="jxr_javadoccomment">     * &lt;p&gt;Constructs a &lt;code&gt;UnicodeEscaper&lt;/code&gt; below the specified value (exclusive). &lt;/p&gt;</em>
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>  <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>  <em class="jxr_javadoccomment">     * @param codepoint below which to escape</em>
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>  <em class="jxr_javadoccomment">     * @return the newly created {@code UnicodeEscaper} instance</em>
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a> below(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> codepoint) {
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>          <strong class="jxr_keyword">return</strong> outsideOf(codepoint, Integer.MAX_VALUE);
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>      }
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>  
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>  <em class="jxr_javadoccomment">     * &lt;p&gt;Constructs a &lt;code&gt;UnicodeEscaper&lt;/code&gt; above the specified value (exclusive). &lt;/p&gt;</em>
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>  <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>  <em class="jxr_javadoccomment">     * @param codepoint above which to escape</em>
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>  <em class="jxr_javadoccomment">     * @return the newly created {@code UnicodeEscaper} instance</em>
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a> above(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> codepoint) {
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>          <strong class="jxr_keyword">return</strong> outsideOf(0, codepoint);
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>      }
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>  
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>  <em class="jxr_javadoccomment">     * &lt;p&gt;Constructs a &lt;code&gt;UnicodeEscaper&lt;/code&gt; outside of the specified values (exclusive). &lt;/p&gt;</em>
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>  <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>  <em class="jxr_javadoccomment">     * @param codepointLow below which to escape</em>
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>  <em class="jxr_javadoccomment">     * @param codepointHigh above which to escape</em>
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>  <em class="jxr_javadoccomment">     * @return the newly created {@code UnicodeEscaper} instance</em>
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a> outsideOf(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> codepointLow, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> codepointHigh) {
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>          <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a>(codepointLow, codepointHigh, false);
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>      }
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>  
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>      <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>  <em class="jxr_javadoccomment">     * &lt;p&gt;Constructs a &lt;code&gt;UnicodeEscaper&lt;/code&gt; between the specified values (inclusive). &lt;/p&gt;</em>
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>  <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>  <em class="jxr_javadoccomment">     * @param codepointLow above which to escape</em>
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>  <em class="jxr_javadoccomment">     * @param codepointHigh below which to escape</em>
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>  <em class="jxr_javadoccomment">     * @return the newly created {@code UnicodeEscaper} instance</em>
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>  <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L98" href="#L98">98</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a> between(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> codepointLow, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> codepointHigh) {
+<a class="jxr_linenumber" name="L99" href="#L99">99</a>          <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeEscaper.html">UnicodeEscaper</a>(codepointLow, codepointHigh, <strong class="jxr_keyword">true</strong>);
+<a class="jxr_linenumber" name="L100" href="#L100">100</a>     }
+<a class="jxr_linenumber" name="L101" href="#L101">101</a> 
+<a class="jxr_linenumber" name="L102" href="#L102">102</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L103" href="#L103">103</a> <em class="jxr_javadoccomment">     * {@inheritDoc}</em>
+<a class="jxr_linenumber" name="L104" href="#L104">104</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L105" href="#L105">105</a>     @Override
+<a class="jxr_linenumber" name="L106" href="#L106">106</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> translate(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> codepoint, <strong class="jxr_keyword">final</strong> Writer out) <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="L107" href="#L107">107</a>         <strong class="jxr_keyword">if</strong> (between) {
+<a class="jxr_linenumber" name="L108" href="#L108">108</a>             <strong class="jxr_keyword">if</strong> (codepoint &lt; below || codepoint &gt; above) {
 <a class="jxr_linenumber" name="L109" href="#L109">109</a>                 <strong class="jxr_keyword">return</strong> false;
 <a class="jxr_linenumber" name="L110" href="#L110">110</a>             }
-<a class="jxr_linenumber" name="L111" href="#L111">111</a>         }
-<a class="jxr_linenumber" name="L112" href="#L112">112</a> 
-<a class="jxr_linenumber" name="L113" href="#L113">113</a>         <em class="jxr_comment">// TODO: Handle potential + sign per various Unicode escape implementations</em>
-<a class="jxr_linenumber" name="L114" href="#L114">114</a>         <strong class="jxr_keyword">if</strong> (codepoint &gt; 0xffff) {
-<a class="jxr_linenumber" name="L115" href="#L115">115</a>             out.write(toUtf16Escape(codepoint));
-<a class="jxr_linenumber" name="L116" href="#L116">116</a>         } <strong class="jxr_keyword">else</strong> {
-<a class="jxr_linenumber" name="L117" href="#L117">117</a>           out.write(<span class="jxr_string">"&#92;&#92;u"</span>);
-<a class="jxr_linenumber" name="L118" href="#L118">118</a>           out.write(HEX_DIGITS[(codepoint &gt;&gt; 12) &amp; 15]);
-<a class="jxr_linenumber" name="L119" href="#L119">119</a>           out.write(HEX_DIGITS[(codepoint &gt;&gt; 8) &amp; 15]);
-<a class="jxr_linenumber" name="L120" href="#L120">120</a>           out.write(HEX_DIGITS[(codepoint &gt;&gt; 4) &amp; 15]);
-<a class="jxr_linenumber" name="L121" href="#L121">121</a>           out.write(HEX_DIGITS[(codepoint) &amp; 15]);
-<a class="jxr_linenumber" name="L122" href="#L122">122</a>         }
-<a class="jxr_linenumber" name="L123" href="#L123">123</a>         <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">true</strong>;
-<a class="jxr_linenumber" name="L124" href="#L124">124</a>     }
-<a class="jxr_linenumber" name="L125" href="#L125">125</a> 
-<a class="jxr_linenumber" name="L126" href="#L126">126</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L127" href="#L127">127</a> <em class="jxr_javadoccomment">     * Converts the given codepoint to a hex string of the form {@code "&#92;&#92;uXXXX"}</em>
-<a class="jxr_linenumber" name="L128" href="#L128">128</a> <em class="jxr_javadoccomment">     * </em>
-<a class="jxr_linenumber" name="L129" href="#L129">129</a> <em class="jxr_javadoccomment">     * @param codepoint</em>
-<a class="jxr_linenumber" name="L130" href="#L130">130</a> <em class="jxr_javadoccomment">     *            a Unicode code point</em>
-<a class="jxr_linenumber" name="L131" href="#L131">131</a> <em class="jxr_javadoccomment">     * @return the hex string for the given codepoint</em>
-<a class="jxr_linenumber" name="L132" href="#L132">132</a> <em class="jxr_javadoccomment">     *</em>
-<a class="jxr_linenumber" name="L133" href="#L133">133</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L134" href="#L134">134</a>     <strong class="jxr_keyword">protected</strong> String toUtf16Escape(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> codepoint) {
-<a class="jxr_linenumber" name="L135" href="#L135">135</a>         <strong class="jxr_keyword">return</strong> <span class="jxr_string">"&#92;&#92;u"</span> + hex(codepoint);
-<a class="jxr_linenumber" name="L136" href="#L136">136</a>     }
-<a class="jxr_linenumber" name="L137" href="#L137">137</a> }
+<a class="jxr_linenumber" name="L111" href="#L111">111</a>         } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L112" href="#L112">112</a>             <strong class="jxr_keyword">if</strong> (codepoint &gt;= below &amp;&amp; codepoint &lt;= above) {
+<a class="jxr_linenumber" name="L113" href="#L113">113</a>                 <strong class="jxr_keyword">return</strong> false;
+<a class="jxr_linenumber" name="L114" href="#L114">114</a>             }
+<a class="jxr_linenumber" name="L115" href="#L115">115</a>         }
+<a class="jxr_linenumber" name="L116" href="#L116">116</a> 
+<a class="jxr_linenumber" name="L117" href="#L117">117</a>         <strong class="jxr_keyword">if</strong> (codepoint &gt; 0xffff) {
+<a class="jxr_linenumber" name="L118" href="#L118">118</a>             out.write(toUtf16Escape(codepoint));
+<a class="jxr_linenumber" name="L119" href="#L119">119</a>         } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L120" href="#L120">120</a>           out.write(<span class="jxr_string">"&#92;&#92;u"</span>);
+<a class="jxr_linenumber" name="L121" href="#L121">121</a>           out.write(HEX_DIGITS[(codepoint &gt;&gt; 12) &amp; 15]);
+<a class="jxr_linenumber" name="L122" href="#L122">122</a>           out.write(HEX_DIGITS[(codepoint &gt;&gt; 8) &amp; 15]);
+<a class="jxr_linenumber" name="L123" href="#L123">123</a>           out.write(HEX_DIGITS[(codepoint &gt;&gt; 4) &amp; 15]);
+<a class="jxr_linenumber" name="L124" href="#L124">124</a>           out.write(HEX_DIGITS[(codepoint) &amp; 15]);
+<a class="jxr_linenumber" name="L125" href="#L125">125</a>         }
+<a class="jxr_linenumber" name="L126" href="#L126">126</a>         <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="L127" href="#L127">127</a>     }
+<a class="jxr_linenumber" name="L128" href="#L128">128</a> 
+<a class="jxr_linenumber" name="L129" href="#L129">129</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L130" href="#L130">130</a> <em class="jxr_javadoccomment">     * Converts the given codepoint to a hex string of the form {@code "&#92;&#92;uXXXX"}.</em>
+<a class="jxr_linenumber" name="L131" href="#L131">131</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="L132" href="#L132">132</a> <em class="jxr_javadoccomment">     * @param codepoint</em>
+<a class="jxr_linenumber" name="L133" href="#L133">133</a> <em class="jxr_javadoccomment">     *            a Unicode code point</em>
+<a class="jxr_linenumber" name="L134" href="#L134">134</a> <em class="jxr_javadoccomment">     * @return the hex string for the given codepoint</em>
+<a class="jxr_linenumber" name="L135" href="#L135">135</a> <em class="jxr_javadoccomment">     *</em>
+<a class="jxr_linenumber" name="L136" href="#L136">136</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L137" href="#L137">137</a>     <strong class="jxr_keyword">protected</strong> String toUtf16Escape(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> codepoint) {
+<a class="jxr_linenumber" name="L138" href="#L138">138</a>         <strong class="jxr_keyword">return</strong> <span class="jxr_string">"&#92;&#92;u"</span> + hex(codepoint);
+<a class="jxr_linenumber" name="L139" href="#L139">139</a>     }
+<a class="jxr_linenumber" name="L140" href="#L140">140</a> }
 </pre>
 <hr/>
 <div id="footer">Copyright &#169; 2014&#x2013;2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>

Modified: websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/UnicodeUnescaper.html
==============================================================================
--- websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/UnicodeUnescaper.html (original)
+++ websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/UnicodeUnescaper.html Sun Mar 12 02:08:01 2017
@@ -13,9 +13,9 @@
 <a class="jxr_linenumber" name="L5" href="#L5">5</a>   <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
 <a class="jxr_linenumber" name="L6" href="#L6">6</a>   <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em>
 <a class="jxr_linenumber" name="L7" href="#L7">7</a>   <em class="jxr_comment"> * the License.  You may obtain a copy of the License at</em>
-<a class="jxr_linenumber" name="L8" href="#L8">8</a>   <em class="jxr_comment"> * </em>
+<a class="jxr_linenumber" name="L8" href="#L8">8</a>   <em class="jxr_comment"> *</em>
 <a class="jxr_linenumber" name="L9" href="#L9">9</a>   <em class="jxr_comment"> *      <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em>
-<a class="jxr_linenumber" name="L10" href="#L10">10</a>  <em class="jxr_comment"> * </em>
+<a class="jxr_linenumber" name="L10" href="#L10">10</a>  <em class="jxr_comment"> *</em>
 <a class="jxr_linenumber" name="L11" href="#L11">11</a>  <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em>
 <a class="jxr_linenumber" name="L12" href="#L12">12</a>  <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
 <a class="jxr_linenumber" name="L13" href="#L13">13</a>  <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
@@ -28,8 +28,8 @@
 <a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> java.io.Writer;
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <em class="jxr_javadoccomment"> * Translates escaped Unicode values of the form &#92;&#92;u+\d\d\d\d back to </em>
-<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <em class="jxr_javadoccomment"> * Unicode. It supports multiple 'u' characters and will work with or </em>
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <em class="jxr_javadoccomment"> * Translates escaped Unicode values of the form &#92;&#92;u+\d\d\d\d back to</em>
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <em class="jxr_javadoccomment"> * Unicode. It supports multiple 'u' characters and will work with or</em>
 <a class="jxr_linenumber" name="L25" href="#L25">25</a>  <em class="jxr_javadoccomment"> * without the +.</em>
 <a class="jxr_linenumber" name="L26" href="#L26">26</a>  <em class="jxr_javadoccomment"> *</em>
 <a class="jxr_linenumber" name="L27" href="#L27">27</a>  <em class="jxr_javadoccomment"> * @since 1.0</em>
@@ -64,12 +64,13 @@
 <a class="jxr_linenumber" name="L56" href="#L56">56</a>                  }
 <a class="jxr_linenumber" name="L57" href="#L57">57</a>                  <strong class="jxr_keyword">return</strong> i + 4;
 <a class="jxr_linenumber" name="L58" href="#L58">58</a>              }
-<a class="jxr_linenumber" name="L59" href="#L59">59</a>              <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"Less than 4 hex digits in unicode value: '"</span> + input.subSequence(index, input.length())
-<a class="jxr_linenumber" name="L60" href="#L60">60</a>                      + <span class="jxr_string">"' due to end of CharSequence"</span>);
-<a class="jxr_linenumber" name="L61" href="#L61">61</a>          }
-<a class="jxr_linenumber" name="L62" href="#L62">62</a>          <strong class="jxr_keyword">return</strong> 0;
-<a class="jxr_linenumber" name="L63" href="#L63">63</a>      }
-<a class="jxr_linenumber" name="L64" href="#L64">64</a>  }
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>              <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"Less than 4 hex digits in unicode value: '"</span>
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>                      + input.subSequence(index, input.length())
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>                      + <span class="jxr_string">"' due to end of CharSequence"</span>);
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>          }
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>          <strong class="jxr_keyword">return</strong> 0;
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>      }
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>  }
 </pre>
 <hr/>
 <div id="footer">Copyright &#169; 2014&#x2013;2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>

Modified: websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/UnicodeUnpairedSurrogateRemover.html
==============================================================================
--- websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/UnicodeUnpairedSurrogateRemover.html (original)
+++ websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/UnicodeUnpairedSurrogateRemover.html Sun Mar 12 02:08:01 2017
@@ -34,7 +34,7 @@
 <a class="jxr_linenumber" name="L26" href="#L26">26</a>  <em class="jxr_javadoccomment"> */</em>
 <a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/text/translate/UnicodeUnpairedSurrogateRemover.html">UnicodeUnpairedSurrogateRemover</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../org/apache/commons/text/translate/CodePointTranslator.html">CodePointTranslator</a> {
 <a class="jxr_linenumber" name="L28" href="#L28">28</a>      <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <em class="jxr_javadoccomment">     * Implementation of translate that throws out unpaired surrogates. </em>
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <em class="jxr_javadoccomment">     * Implementation of translate that throws out unpaired surrogates.</em>
 <a class="jxr_linenumber" name="L30" href="#L30">30</a>  <em class="jxr_javadoccomment">     * {@inheritDoc}</em>
 <a class="jxr_linenumber" name="L31" href="#L31">31</a>  <em class="jxr_javadoccomment">     */</em>
 <a class="jxr_linenumber" name="L32" href="#L32">32</a>      @Override

Modified: websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/package-frame.html Sun Mar 12 02:08:01 2017
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons Text 1.0-SNAPSHOT Reference Package org.apache.commons.text.translate</title>
+		<title>Apache Commons Text 1.1-SNAPSHOT Reference Package org.apache.commons.text.translate</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>
@@ -55,9 +55,6 @@
             	<a href="OctalUnescaper.html" target="classFrame">OctalUnescaper</a>
           	</li>
           	          	<li>
-            	<a href="SingleLookupTranslator.html" target="classFrame">SingleLookupTranslator</a>
-          	</li>
-          	          	<li>
             	<a href="SinglePassTranslator.html" target="classFrame">SinglePassTranslator</a>
           	</li>
           	          	<li>

Modified: websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-text/xref/org/apache/commons/text/translate/package-summary.html Sun Mar 12 02:08:01 2017
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons Text 1.0-SNAPSHOT Reference Package org.apache.commons.text.translate</title>
+		<title>Apache Commons Text 1.1-SNAPSHOT Reference Package org.apache.commons.text.translate</title>
 		<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
 	</head>
 	<body>
@@ -101,11 +101,6 @@
               		</td>
             	</tr>
 				            	<tr>
-              		<td>
-                		<a href="SingleLookupTranslator.html" target="classFrame">SingleLookupTranslator</a>
-              		</td>
-            	</tr>
-				            	<tr>
               		<td>
                 		<a href="SinglePassTranslator.html" target="classFrame">SinglePassTranslator</a>
               		</td>

Modified: websites/production/commons/content/proper/commons-text/xref/overview-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-text/xref/overview-frame.html (original)
+++ websites/production/commons/content/proper/commons-text/xref/overview-frame.html Sun Mar 12 02:08:01 2017
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons Text 1.0-SNAPSHOT Reference</title>
+		<title>Apache Commons Text 1.1-SNAPSHOT Reference</title>
 		<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
 	</head>
 	<body>

Modified: websites/production/commons/content/proper/commons-text/xref/overview-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-text/xref/overview-summary.html (original)
+++ websites/production/commons/content/proper/commons-text/xref/overview-summary.html Sun Mar 12 02:08:01 2017
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-		<title>Apache Commons Text 1.0-SNAPSHOT Reference</title>
+		<title>Apache Commons Text 1.1-SNAPSHOT Reference</title>
 		<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
 	</head>
 	<body>
@@ -24,7 +24,7 @@
 	        </ul>
       	</div>
 		
-		      	<h2>Apache Commons Text 1.0-SNAPSHOT Reference</h2>
+		      	<h2>Apache Commons Text 1.1-SNAPSHOT Reference</h2>
 
 		<table class="summary">
         	<thead>



Mime
View raw message