You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2014/08/14 21:48:09 UTC

svn commit: r919363 [16/44] - in /websites/production/commons/content/proper/commons-csv: ./ apidocs/ apidocs/org/apache/commons/csv/ apidocs/org/apache/commons/csv/class-use/ apidocs/resources/ apidocs/src-html/org/apache/commons/csv/ jacoco/ jacoco/....

Added: websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVFormat.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVFormat.html (added)
+++ websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVFormat.html Thu Aug 14 19:48:06 2014
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>CSVFormat</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CSV</a> &gt; <a href="index.html" class="el_package">org.apache.commons.csv</a> &gt; <span class="el_class">CSVFormat</span></div><h1>CSVFormat</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclic
 k="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">101 of 1,198</td><td class="ctr2">92%</td><td class="bar">25 of 140</td><td class="ctr2">82%</td><td class="ctr1">23</td><td class="ctr2">114</td><td class="ctr1">18</td><td class="
 ctr2">184</td><td class="ctr1">0</td><td class="ctr2">44</td></tr></tfoot><tbody><tr><td id="a26"><a href="CSVFormat.java.html#L674" class="el_method">toString()</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="42" height="10" title="51" alt="51"/><img src="../.resources/greenbar.gif" width="67" height="10" title="81" alt="81"/></td><td class="ctr2" id="c43">61%</td><td class="bar" id="d2"><img src="../.resources/redbar.gif" width="12" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="27" height="10" title="11" alt="11"/></td><td class="ctr2" id="e13">69%</td><td class="ctr1" id="f2">5</td><td class="ctr2" id="g3">9</td><td class="ctr1" id="h0">8</td><td class="ctr2" id="i1">26</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a15"><a href="CSVFormat.java.html#L583" class="el_method">hashCode()</a></td><td class="bar" id="b1"><img src="../.resources/redbar.gif" width="17" height="10" title="21" alt=
 "21"/><img src="../.resources/greenbar.gif" width="92" height="10" title="111" alt="111"/></td><td class="ctr2" id="c40">84%</td><td class="bar" id="d1"><img src="../.resources/redbar.gif" width="22" height="10" title="9" alt="9"/><img src="../.resources/greenbar.gif" width="22" height="10" title="9" alt="9"/></td><td class="ctr2" id="e14">50%</td><td class="ctr1" id="f0">9</td><td class="ctr2" id="g2">10</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i3">14</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a1"><a href="CSVFormat.java.html#L376" class="el_method">equals(Object)</a></td><td class="bar" id="b2"><img src="../.resources/redbar.gif" width="13" height="10" title="16" alt="16"/><img src="../.resources/greenbar.gif" width="106" height="10" title="128" alt="128"/></td><td class="ctr2" id="c39">89%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="22" height="10" title="9" alt="9"/><img src="../.resources/greenbar
 .gif" width="97" height="10" title="39" alt="39"/></td><td class="ctr2" id="e12">81%</td><td class="ctr1" id="f1">7</td><td class="ctr2" id="g0">25</td><td class="ctr1" id="h1">7</td><td class="ctr2" id="i0">45</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a2"><a href="CSVFormat.java.html#L451" class="el_method">format(Object[])</a></td><td class="bar" id="b3"><img src="../.resources/redbar.gif" width="5" height="10" title="6" alt="6"/><img src="../.resources/greenbar.gif" width="12" height="10" title="15" alt="15"/></td><td class="ctr2" id="c41">71%</td><td class="bar" id="d16"/><td class="ctr2" id="e16">n/a</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g16">1</td><td class="ctr1" id="h2">2</td><td class="ctr2" id="i6">5</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a0"><a href="CSVFormat.java.html#L344" class="el_method">CSVFormat(char, Character, QuoteMode, Character, Character, boolean, boolean, 
 String, String, String[], boolean, boolean)</a></td><td class="bar" id="b4"><img src="../.resources/redbar.gif" width="4" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="77" height="10" title="93" alt="93"/></td><td class="ctr2" id="c38">95%</td><td class="bar" id="d3"><img src="../.resources/redbar.gif" width="2" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="17" height="10" title="7" alt="7"/></td><td class="ctr2" id="e11">88%</td><td class="ctr1" id="f3">1</td><td class="ctr2" id="g4">5</td><td class="ctr1" id="h3">1</td><td class="ctr2" id="i2">24</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a20"><a href="CSVFormat.java.html#L626" class="el_method">isNullStringSet()</a></td><td class="bar" id="b5"><img src="../.resources/redbar.gif" width="1" height="10" title="2" alt="2"/><img src="../.resources/greenbar.gif" width="4" height="10" title="5" alt="5"/></td><td class="ctr2" id="c42">71%<
 /td><td class="bar" id="d4"><img src="../.resources/redbar.gif" width="2" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="2" height="10" title="1" alt="1"/></td><td class="ctr2" id="e15">50%</td><td class="ctr1" id="f4">1</td><td class="ctr2" id="g7">2</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i11">1</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a27"><a href="CSVFormat.java.html#L716" class="el_method">validate()</a></td><td class="bar" id="b6"><img src="../.resources/greenbar.gif" width="110" height="10" title="133" alt="133"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d5"><img src="../.resources/greenbar.gif" width="60" height="10" title="24" alt="24"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f6">0</td><td class="ctr2" id="g1">13</td><td class="ctr1" id="h6">0</td><td class="ctr2" id="i4">13</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k6">1</td></tr><tr><td
  id="a25"><a href="CSVFormat.java.html#L175" class="el_method">static {...}</a></td><td class="bar" id="b7"><img src="../.resources/greenbar.gif" width="35" height="10" title="43" alt="43"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d17"/><td class="ctr2" id="e17">n/a</td><td class="ctr1" id="f7">0</td><td class="ctr2" id="g17">1</td><td class="ctr1" id="h7">0</td><td class="ctr2" id="i5">12</td><td class="ctr1" id="j7">0</td><td class="ctr2" id="k7">1</td></tr><tr><td id="a30"><a href="CSVFormat.java.html#L773" class="el_method">withCommentMarker(Character)</a></td><td class="bar" id="b8"><img src="../.resources/greenbar.gif" width="29" height="10" title="35" alt="35"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d8"><img src="../.resources/greenbar.gif" width="5" height="10" title="2" alt="2"/></td><td class="ctr2" id="e1">100%</td><td class="ctr1" id="f8">0</td><td class="ctr2" id="g8">2</td><td class="ctr1" id="h8">0</td><td class="ctr2" id="i7">3</
 td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k8">1</td></tr><tr><td id="a31"><a href="CSVFormat.java.html#L791" class="el_method">withDelimiter(char)</a></td><td class="bar" id="b9"><img src="../.resources/greenbar.gif" width="29" height="10" title="35" alt="35"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d9"><img src="../.resources/greenbar.gif" width="5" height="10" title="2" alt="2"/></td><td class="ctr2" id="e2">100%</td><td class="ctr1" id="f9">0</td><td class="ctr2" id="g9">2</td><td class="ctr1" id="h9">0</td><td class="ctr2" id="i8">3</td><td class="ctr1" id="j9">0</td><td class="ctr2" id="k9">1</td></tr><tr><td id="a33"><a href="CSVFormat.java.html#L822" class="el_method">withEscape(Character)</a></td><td class="bar" id="b10"><img src="../.resources/greenbar.gif" width="29" height="10" title="35" alt="35"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d10"><img src="../.resources/greenbar.gif" width="5" height="10" title="2" alt="2"/><
 /td><td class="ctr2" id="e3">100%</td><td class="ctr1" id="f10">0</td><td class="ctr2" id="g10">2</td><td class="ctr1" id="h10">0</td><td class="ctr2" id="i9">3</td><td class="ctr1" id="j10">0</td><td class="ctr2" id="k10">1</td></tr><tr><td id="a39"><a href="CSVFormat.java.html#L939" class="el_method">withQuote(Character)</a></td><td class="bar" id="b11"><img src="../.resources/greenbar.gif" width="29" height="10" title="35" alt="35"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d11"><img src="../.resources/greenbar.gif" width="5" height="10" title="2" alt="2"/></td><td class="ctr2" id="e4">100%</td><td class="ctr1" id="f11">0</td><td class="ctr2" id="g11">2</td><td class="ctr1" id="h11">0</td><td class="ctr2" id="i10">3</td><td class="ctr1" id="j11">0</td><td class="ctr2" id="k11">1</td></tr><tr><td id="a34"><a href="CSVFormat.java.html#L848" class="el_method">withHeader(String[])</a></td><td class="bar" id="b12"><img src="../.resources/greenbar.gif" width="22" heigh
 t="10" title="27" alt="27"/></td><td class="ctr2" id="c6">100%</td><td class="bar" id="d18"/><td class="ctr2" id="e18">n/a</td><td class="ctr1" id="f12">0</td><td class="ctr2" id="g18">1</td><td class="ctr1" id="h12">0</td><td class="ctr2" id="i12">1</td><td class="ctr1" id="j12">0</td><td class="ctr2" id="k12">1</td></tr><tr><td id="a28"><a href="CSVFormat.java.html#L862" class="el_method">withAllowMissingColumnNames(boolean)</a></td><td class="bar" id="b13"><img src="../.resources/greenbar.gif" width="22" height="10" title="27" alt="27"/></td><td class="ctr2" id="c7">100%</td><td class="bar" id="d19"/><td class="ctr2" id="e19">n/a</td><td class="ctr1" id="f13">0</td><td class="ctr2" id="g19">1</td><td class="ctr1" id="h13">0</td><td class="ctr2" id="i13">1</td><td class="ctr1" id="j13">0</td><td class="ctr2" id="k13">1</td></tr><tr><td id="a35"><a href="CSVFormat.java.html#L876" class="el_method">withIgnoreEmptyLines(boolean)</a></td><td class="bar" id="b14"><img src="../.resource
 s/greenbar.gif" width="22" height="10" title="27" alt="27"/></td><td class="ctr2" id="c8">100%</td><td class="bar" id="d20"/><td class="ctr2" id="e20">n/a</td><td class="ctr1" id="f14">0</td><td class="ctr2" id="g20">1</td><td class="ctr1" id="h14">0</td><td class="ctr2" id="i14">1</td><td class="ctr1" id="j14">0</td><td class="ctr2" id="k14">1</td></tr><tr><td id="a36"><a href="CSVFormat.java.html#L890" class="el_method">withIgnoreSurroundingSpaces(boolean)</a></td><td class="bar" id="b15"><img src="../.resources/greenbar.gif" width="22" height="10" title="27" alt="27"/></td><td class="ctr2" id="c9">100%</td><td class="bar" id="d21"/><td class="ctr2" id="e21">n/a</td><td class="ctr1" id="f15">0</td><td class="ctr2" id="g21">1</td><td class="ctr1" id="h15">0</td><td class="ctr2" id="i15">1</td><td class="ctr1" id="j15">0</td><td class="ctr2" id="k15">1</td></tr><tr><td id="a37"><a href="CSVFormat.java.html#L911" class="el_method">withNullString(String)</a></td><td class="bar" id="b1
 6"><img src="../.resources/greenbar.gif" width="22" height="10" title="27" alt="27"/></td><td class="ctr2" id="c10">100%</td><td class="bar" id="d22"/><td class="ctr2" id="e22">n/a</td><td class="ctr1" id="f16">0</td><td class="ctr2" id="g22">1</td><td class="ctr1" id="h16">0</td><td class="ctr2" id="i16">1</td><td class="ctr1" id="j16">0</td><td class="ctr2" id="k16">1</td></tr><tr><td id="a40"><a href="CSVFormat.java.html#L956" class="el_method">withQuoteMode(QuoteMode)</a></td><td class="bar" id="b17"><img src="../.resources/greenbar.gif" width="22" height="10" title="27" alt="27"/></td><td class="ctr2" id="c11">100%</td><td class="bar" id="d23"/><td class="ctr2" id="e23">n/a</td><td class="ctr1" id="f17">0</td><td class="ctr2" id="g23">1</td><td class="ctr1" id="h17">0</td><td class="ctr2" id="i17">1</td><td class="ctr1" id="j17">0</td><td class="ctr2" id="k17">1</td></tr><tr><td id="a42"><a href="CSVFormat.java.html#L990" class="el_method">withRecordSeparator(String)</a></td><t
 d class="bar" id="b18"><img src="../.resources/greenbar.gif" width="22" height="10" title="27" alt="27"/></td><td class="ctr2" id="c12">100%</td><td class="bar" id="d24"/><td class="ctr2" id="e24">n/a</td><td class="ctr1" id="f18">0</td><td class="ctr2" id="g24">1</td><td class="ctr1" id="h18">0</td><td class="ctr2" id="i18">1</td><td class="ctr1" id="j18">0</td><td class="ctr2" id="k18">1</td></tr><tr><td id="a43"><a href="CSVFormat.java.html#L1005" class="el_method">withSkipHeaderRecord(boolean)</a></td><td class="bar" id="b19"><img src="../.resources/greenbar.gif" width="22" height="10" title="27" alt="27"/></td><td class="ctr2" id="c13">100%</td><td class="bar" id="d25"/><td class="ctr2" id="e25">n/a</td><td class="ctr1" id="f19">0</td><td class="ctr2" id="g25">1</td><td class="ctr1" id="h19">0</td><td class="ctr2" id="i19">1</td><td class="ctr1" id="j19">0</td><td class="ctr2" id="k19">1</td></tr><tr><td id="a22"><a href="CSVFormat.java.html#L309" class="el_method">newFormat(ch
 ar)</a></td><td class="bar" id="b20"><img src="../.resources/greenbar.gif" width="13" height="10" title="16" alt="16"/></td><td class="ctr2" id="c14">100%</td><td class="bar" id="d26"/><td class="ctr2" id="e26">n/a</td><td class="ctr1" id="f20">0</td><td class="ctr2" id="g26">1</td><td class="ctr1" id="h20">0</td><td class="ctr2" id="i20">1</td><td class="ctr1" id="j20">0</td><td class="ctr2" id="k20">1</td></tr><tr><td id="a18"><a href="CSVFormat.java.html#L276" class="el_method">isLineBreak(char)</a></td><td class="bar" id="b21"><img src="../.resources/greenbar.gif" width="8" height="10" title="10" alt="10"/></td><td class="ctr2" id="c15">100%</td><td class="bar" id="d6"><img src="../.resources/greenbar.gif" width="10" height="10" title="4" alt="4"/></td><td class="ctr2" id="e5">100%</td><td class="ctr1" id="f21">0</td><td class="ctr2" id="g5">3</td><td class="ctr1" id="h21">0</td><td class="ctr2" id="i21">1</td><td class="ctr1" id="j21">0</td><td class="ctr2" id="k21">1</td></tr>
 <tr><td id="a19"><a href="CSVFormat.java.html#L288" class="el_method">isLineBreak(Character)</a></td><td class="bar" id="b22"><img src="../.resources/greenbar.gif" width="8" height="10" title="10" alt="10"/></td><td class="ctr2" id="c16">100%</td><td class="bar" id="d7"><img src="../.resources/greenbar.gif" width="10" height="10" title="4" alt="4"/></td><td class="ctr2" id="e6">100%</td><td class="ctr1" id="f22">0</td><td class="ctr2" id="g6">3</td><td class="ctr1" id="h22">0</td><td class="ctr2" id="i22">1</td><td class="ctr1" id="j22">0</td><td class="ctr2" id="k22">1</td></tr><tr><td id="a7"><a href="CSVFormat.java.html#L494" class="el_method">getHeader()</a></td><td class="bar" id="b23"><img src="../.resources/greenbar.gif" width="8" height="10" title="10" alt="10"/></td><td class="ctr2" id="c17">100%</td><td class="bar" id="d12"><img src="../.resources/greenbar.gif" width="5" height="10" title="2" alt="2"/></td><td class="ctr2" id="e7">100%</td><td class="ctr1" id="f23">0</td><
 td class="ctr2" id="g12">2</td><td class="ctr1" id="h23">0</td><td class="ctr2" id="i23">1</td><td class="ctr1" id="j23">0</td><td class="ctr2" id="k23">1</td></tr><tr><td id="a16"><a href="CSVFormat.java.html#L608" class="el_method">isCommentMarkerSet()</a></td><td class="bar" id="b24"><img src="../.resources/greenbar.gif" width="5" height="10" title="7" alt="7"/></td><td class="ctr2" id="c18">100%</td><td class="bar" id="d13"><img src="../.resources/greenbar.gif" width="5" height="10" title="2" alt="2"/></td><td class="ctr2" id="e8">100%</td><td class="ctr1" id="f24">0</td><td class="ctr2" id="g13">2</td><td class="ctr1" id="h24">0</td><td class="ctr2" id="i24">1</td><td class="ctr1" id="j24">0</td><td class="ctr2" id="k24">1</td></tr><tr><td id="a17"><a href="CSVFormat.java.html#L617" class="el_method">isEscapeCharacterSet()</a></td><td class="bar" id="b25"><img src="../.resources/greenbar.gif" width="5" height="10" title="7" alt="7"/></td><td class="ctr2" id="c19">100%</td><td c
 lass="bar" id="d14"><img src="../.resources/greenbar.gif" width="5" height="10" title="2" alt="2"/></td><td class="ctr2" id="e9">100%</td><td class="ctr1" id="f25">0</td><td class="ctr2" id="g14">2</td><td class="ctr1" id="h25">0</td><td class="ctr2" id="i25">1</td><td class="ctr1" id="j25">0</td><td class="ctr2" id="k25">1</td></tr><tr><td id="a21"><a href="CSVFormat.java.html#L635" class="el_method">isQuoteCharacterSet()</a></td><td class="bar" id="b26"><img src="../.resources/greenbar.gif" width="5" height="10" title="7" alt="7"/></td><td class="ctr2" id="c20">100%</td><td class="bar" id="d15"><img src="../.resources/greenbar.gif" width="5" height="10" title="2" alt="2"/></td><td class="ctr2" id="e10">100%</td><td class="ctr1" id="f26">0</td><td class="ctr2" id="g15">2</td><td class="ctr1" id="h26">0</td><td class="ctr2" id="i26">1</td><td class="ctr1" id="j26">0</td><td class="ctr2" id="k26">1</td></tr><tr><td id="a23"><a href="CSVFormat.java.html#L652" class="el_method">parse(R
 eader)</a></td><td class="bar" id="b27"><img src="../.resources/greenbar.gif" width="5" height="10" title="6" alt="6"/></td><td class="ctr2" id="c21">100%</td><td class="bar" id="d27"/><td class="ctr2" id="e27">n/a</td><td class="ctr1" id="f27">0</td><td class="ctr2" id="g27">1</td><td class="ctr1" id="h27">0</td><td class="ctr2" id="i27">1</td><td class="ctr1" id="j27">0</td><td class="ctr2" id="k27">1</td></tr><tr><td id="a24"><a href="CSVFormat.java.html#L669" class="el_method">print(Appendable)</a></td><td class="bar" id="b28"><img src="../.resources/greenbar.gif" width="5" height="10" title="6" alt="6"/></td><td class="ctr2" id="c22">100%</td><td class="bar" id="d28"/><td class="ctr2" id="e28">n/a</td><td class="ctr1" id="f28">0</td><td class="ctr2" id="g28">1</td><td class="ctr1" id="h28">0</td><td class="ctr2" id="i28">1</td><td class="ctr1" id="j28">0</td><td class="ctr2" id="k28">1</td></tr><tr><td id="a29"><a href="CSVFormat.java.html#L758" class="el_method">withCommentMar
 ker(char)</a></td><td class="bar" id="b29"><img src="../.resources/greenbar.gif" width="4" height="10" title="5" alt="5"/></td><td class="ctr2" id="c23">100%</td><td class="bar" id="d29"/><td class="ctr2" id="e29">n/a</td><td class="ctr1" id="f29">0</td><td class="ctr2" id="g29">1</td><td class="ctr1" id="h29">0</td><td class="ctr2" id="i29">1</td><td class="ctr1" id="j29">0</td><td class="ctr2" id="k29">1</td></tr><tr><td id="a32"><a href="CSVFormat.java.html#L809" class="el_method">withEscape(char)</a></td><td class="bar" id="b30"><img src="../.resources/greenbar.gif" width="4" height="10" title="5" alt="5"/></td><td class="ctr2" id="c24">100%</td><td class="bar" id="d30"/><td class="ctr2" id="e30">n/a</td><td class="ctr1" id="f30">0</td><td class="ctr2" id="g30">1</td><td class="ctr1" id="h30">0</td><td class="ctr2" id="i30">1</td><td class="ctr1" id="j30">0</td><td class="ctr2" id="k30">1</td></tr><tr><td id="a38"><a href="CSVFormat.java.html#L926" class="el_method">withQuote(ch
 ar)</a></td><td class="bar" id="b31"><img src="../.resources/greenbar.gif" width="4" height="10" title="5" alt="5"/></td><td class="ctr2" id="c25">100%</td><td class="bar" id="d31"/><td class="ctr2" id="e31">n/a</td><td class="ctr1" id="f31">0</td><td class="ctr2" id="g31">1</td><td class="ctr1" id="h31">0</td><td class="ctr2" id="i31">1</td><td class="ctr1" id="j31">0</td><td class="ctr2" id="k31">1</td></tr><tr><td id="a41"><a href="CSVFormat.java.html#L973" class="el_method">withRecordSeparator(char)</a></td><td class="bar" id="b32"><img src="../.resources/greenbar.gif" width="4" height="10" title="5" alt="5"/></td><td class="ctr2" id="c26">100%</td><td class="bar" id="d32"/><td class="ctr2" id="e32">n/a</td><td class="ctr1" id="f32">0</td><td class="ctr2" id="g32">1</td><td class="ctr1" id="h32">0</td><td class="ctr2" id="i32">1</td><td class="ctr1" id="j32">0</td><td class="ctr2" id="k32">1</td></tr><tr><td id="a4"><a href="CSVFormat.java.html#L467" class="el_method">getComment
 Marker()</a></td><td class="bar" id="b33"><img src="../.resources/greenbar.gif" width="2" height="10" title="3" alt="3"/></td><td class="ctr2" id="c27">100%</td><td class="bar" id="d33"/><td class="ctr2" id="e33">n/a</td><td class="ctr1" id="f33">0</td><td class="ctr2" id="g33">1</td><td class="ctr1" id="h33">0</td><td class="ctr2" id="i33">1</td><td class="ctr1" id="j33">0</td><td class="ctr2" id="k33">1</td></tr><tr><td id="a5"><a href="CSVFormat.java.html#L476" class="el_method">getDelimiter()</a></td><td class="bar" id="b34"><img src="../.resources/greenbar.gif" width="2" height="10" title="3" alt="3"/></td><td class="ctr2" id="c28">100%</td><td class="bar" id="d34"/><td class="ctr2" id="e34">n/a</td><td class="ctr1" id="f34">0</td><td class="ctr2" id="g34">1</td><td class="ctr1" id="h34">0</td><td class="ctr2" id="i34">1</td><td class="ctr1" id="j34">0</td><td class="ctr2" id="k34">1</td></tr><tr><td id="a6"><a href="CSVFormat.java.html#L485" class="el_method">getEscapeCharacte
 r()</a></td><td class="bar" id="b35"><img src="../.resources/greenbar.gif" width="2" height="10" title="3" alt="3"/></td><td class="ctr2" id="c29">100%</td><td class="bar" id="d35"/><td class="ctr2" id="e35">n/a</td><td class="ctr1" id="f35">0</td><td class="ctr2" id="g35">1</td><td class="ctr1" id="h35">0</td><td class="ctr2" id="i35">1</td><td class="ctr1" id="j35">0</td><td class="ctr2" id="k35">1</td></tr><tr><td id="a3"><a href="CSVFormat.java.html#L504" class="el_method">getAllowMissingColumnNames()</a></td><td class="bar" id="b36"><img src="../.resources/greenbar.gif" width="2" height="10" title="3" alt="3"/></td><td class="ctr2" id="c30">100%</td><td class="bar" id="d36"/><td class="ctr2" id="e36">n/a</td><td class="ctr1" id="f36">0</td><td class="ctr2" id="g36">1</td><td class="ctr1" id="h36">0</td><td class="ctr2" id="i36">1</td><td class="ctr1" id="j36">0</td><td class="ctr2" id="k36">1</td></tr><tr><td id="a8"><a href="CSVFormat.java.html#L514" class="el_method">getIgnor
 eEmptyLines()</a></td><td class="bar" id="b37"><img src="../.resources/greenbar.gif" width="2" height="10" title="3" alt="3"/></td><td class="ctr2" id="c31">100%</td><td class="bar" id="d37"/><td class="ctr2" id="e37">n/a</td><td class="ctr1" id="f37">0</td><td class="ctr2" id="g37">1</td><td class="ctr1" id="h37">0</td><td class="ctr2" id="i37">1</td><td class="ctr1" id="j37">0</td><td class="ctr2" id="k37">1</td></tr><tr><td id="a9"><a href="CSVFormat.java.html#L524" class="el_method">getIgnoreSurroundingSpaces()</a></td><td class="bar" id="b38"><img src="../.resources/greenbar.gif" width="2" height="10" title="3" alt="3"/></td><td class="ctr2" id="c32">100%</td><td class="bar" id="d38"/><td class="ctr2" id="e38">n/a</td><td class="ctr1" id="f38">0</td><td class="ctr2" id="g38">1</td><td class="ctr1" id="h38">0</td><td class="ctr2" id="i38">1</td><td class="ctr1" id="j38">0</td><td class="ctr2" id="k38">1</td></tr><tr><td id="a10"><a href="CSVFormat.java.html#L541" class="el_metho
 d">getNullString()</a></td><td class="bar" id="b39"><img src="../.resources/greenbar.gif" width="2" height="10" title="3" alt="3"/></td><td class="ctr2" id="c33">100%</td><td class="bar" id="d39"/><td class="ctr2" id="e39">n/a</td><td class="ctr1" id="f39">0</td><td class="ctr2" id="g39">1</td><td class="ctr1" id="h39">0</td><td class="ctr2" id="i39">1</td><td class="ctr1" id="j39">0</td><td class="ctr2" id="k39">1</td></tr><tr><td id="a11"><a href="CSVFormat.java.html#L550" class="el_method">getQuoteCharacter()</a></td><td class="bar" id="b40"><img src="../.resources/greenbar.gif" width="2" height="10" title="3" alt="3"/></td><td class="ctr2" id="c34">100%</td><td class="bar" id="d40"/><td class="ctr2" id="e40">n/a</td><td class="ctr1" id="f40">0</td><td class="ctr2" id="g40">1</td><td class="ctr1" id="h40">0</td><td class="ctr2" id="i40">1</td><td class="ctr1" id="j40">0</td><td class="ctr2" id="k40">1</td></tr><tr><td id="a12"><a href="CSVFormat.java.html#L559" class="el_method">
 getQuoteMode()</a></td><td class="bar" id="b41"><img src="../.resources/greenbar.gif" width="2" height="10" title="3" alt="3"/></td><td class="ctr2" id="c35">100%</td><td class="bar" id="d41"/><td class="ctr2" id="e41">n/a</td><td class="ctr1" id="f41">0</td><td class="ctr2" id="g41">1</td><td class="ctr1" id="h41">0</td><td class="ctr2" id="i41">1</td><td class="ctr1" id="j41">0</td><td class="ctr2" id="k41">1</td></tr><tr><td id="a13"><a href="CSVFormat.java.html#L568" class="el_method">getRecordSeparator()</a></td><td class="bar" id="b42"><img src="../.resources/greenbar.gif" width="2" height="10" title="3" alt="3"/></td><td class="ctr2" id="c36">100%</td><td class="bar" id="d42"/><td class="ctr2" id="e42">n/a</td><td class="ctr1" id="f42">0</td><td class="ctr2" id="g42">1</td><td class="ctr1" id="h42">0</td><td class="ctr2" id="i42">1</td><td class="ctr1" id="j42">0</td><td class="ctr2" id="k42">1</td></tr><tr><td id="a14"><a href="CSVFormat.java.html#L577" class="el_method">get
 SkipHeaderRecord()</a></td><td class="bar" id="b43"><img src="../.resources/greenbar.gif" width="2" height="10" title="3" alt="3"/></td><td class="ctr2" id="c37">100%</td><td class="bar" id="d43"/><td class="ctr2" id="e43">n/a</td><td class="ctr1" id="f43">0</td><td class="ctr2" id="g43">1</td><td class="ctr1" id="h43">0</td><td class="ctr2" id="i43">1</td><td class="ctr1" id="j43">0</td><td class="ctr2" id="k43">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.1.201405082137</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVFormat.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVFormat.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVFormat.java.html (added)
+++ websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVFormat.java.html Thu Aug 14 19:48:06 2014
@@ -0,0 +1,1010 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>CSVFormat.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CSV</a> &gt; <a href="index.source.html" class="el_package">org.apache.commons.csv</a> &gt; <span class="el_source">CSVFormat.java</span></div><h1>CSVFormat.j
 ava</h1><pre class="source lang-java linenums">/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the &quot;License&quot;); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.commons.csv;
+
+import static org.apache.commons.csv.Constants.BACKSLASH;
+import static org.apache.commons.csv.Constants.COMMA;
+import static org.apache.commons.csv.Constants.CR;
+import static org.apache.commons.csv.Constants.CRLF;
+import static org.apache.commons.csv.Constants.DOUBLE_QUOTE_CHAR;
+import static org.apache.commons.csv.Constants.LF;
+import static org.apache.commons.csv.Constants.TAB;
+
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.StringWriter;
+import java.util.Arrays;
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Specifies the format of a CSV file and parses input.
+ *
+ * &lt;h2&gt;Using predefined formats&lt;/h2&gt;
+ *
+ * &lt;p&gt;
+ * You can use one of the predefined formats:
+ * &lt;/p&gt;
+ *
+ * &lt;ul&gt;
+ *      &lt;li&gt;{@link #DEFAULT}&lt;/li&gt;
+ *      &lt;li&gt;{@link #EXCEL}&lt;/li&gt;
+ *      &lt;li&gt;{@link #MYSQL}&lt;/li&gt;
+ *      &lt;li&gt;{@link #RFC4180}&lt;/li&gt;
+ *      &lt;li&gt;{@link #TDF}&lt;/li&gt;
+ * &lt;/ul&gt;
+ *
+ * &lt;p&gt;
+ * For example:
+ * &lt;/p&gt;
+ *
+ * &lt;pre&gt;
+ * CSVParser parser = CSVFormat.EXCEL.parse(reader);
+ * &lt;/pre&gt;
+ *
+ * &lt;p&gt;
+ * The {@link CSVParser} provides static methods to parse other input types, for example:
+ * &lt;/p&gt;
+ *
+ * &lt;pre&gt;CSVParser parser = CSVParser.parse(file, StandardCharsets.US_ASCII, CSVFormat.EXCEL);&lt;/pre&gt;
+ *
+ * &lt;h2&gt;Defining formats&lt;/h2&gt;
+ *
+ * &lt;p&gt;
+ * You can extend a format by calling the {@code with} methods. For example:
+ * &lt;/p&gt;
+ *
+ * &lt;pre&gt;
+ * CSVFormat.EXCEL
+ *   .withNullString(&amp;quot;N/A&amp;quot;)
+ *   .withIgnoreSurroundingSpaces(true);
+ * &lt;/pre&gt;
+ *
+ * &lt;h2&gt;Defining column names&lt;/h2&gt;
+ *
+ * &lt;p&gt;
+ * To define the column names you want to use to access records, write:
+ * &lt;/p&gt;
+ *
+ * &lt;pre&gt;
+ * CSVFormat.EXCEL.withHeader(&amp;quot;Col1&amp;quot;, &amp;quot;Col2&amp;quot;, &amp;quot;Col3&amp;quot;);
+ * &lt;/pre&gt;
+ *
+ * &lt;p&gt;
+ * Calling {@link #withHeader(String...)} let's you use the given names to address values in a {@link CSVRecord}, and
+ * assumes that your CSV source does not contain a first record that also defines column names.
+ *
+ * If it does, then you are overriding this metadata with your names and you should skip the first record by calling
+ * {@link #withSkipHeaderRecord(boolean)} with {@code true}.
+ * &lt;/p&gt;
+ *
+ * &lt;h2&gt;Parsing&lt;/h2&gt;
+ *
+ * &lt;p&gt;
+ * You can use a format directly to parse a reader. For example, to parse an Excel file with columns header, write:
+ * &lt;/p&gt;
+ *
+ * &lt;pre&gt;
+ * Reader in = ...;
+ * CSVFormat.EXCEL.withHeader(&amp;quot;Col1&amp;quot;, &amp;quot;Col2&amp;quot;, &amp;quot;Col3&amp;quot;).parse(in);
+ * &lt;/pre&gt;
+ *
+ * &lt;p&gt;
+ * For other input types, like resources, files, and URLs, use the static methods on {@link CSVParser}.
+ * &lt;/p&gt;
+ *
+ * &lt;h2&gt;Referencing columns safely&lt;/h2&gt;
+ *
+ * &lt;p&gt;
+ * If your source contains a header record, you can simplify your code and safely reference columns,
+ * by using {@link #withHeader(String...)} with no arguments:
+ * &lt;/p&gt;
+ *
+ * &lt;pre&gt;
+ * CSVFormat.EXCEL.withHeader();
+ * &lt;/pre&gt;
+ *
+ * &lt;p&gt;
+ * This causes the parser to read the first record and use its values as column names.
+ *
+ * Then, call one of the {@link CSVRecord} get method that takes a String column name argument:
+ * &lt;/p&gt;
+ *
+ * &lt;pre&gt;
+ * String value = record.get(&amp;quot;Col1&amp;quot;);
+ * &lt;/pre&gt;
+ *
+ * &lt;p&gt;
+ * This makes your code impervious to changes in column order in the CSV file.
+ * &lt;/p&gt;
+ *
+ * &lt;h2&gt;Notes&lt;/h2&gt;
+ *
+ * &lt;p&gt;
+ * This class is immutable.
+ * &lt;/p&gt;
+ *
+ * @version $Id: CSVFormat.java 1617076 2014-08-10 09:23:01Z britter $
+ */
+public final class CSVFormat implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    private final char delimiter;
+    private final Character quoteCharacter; // null if quoting is disabled
+    private final QuoteMode quoteMode;
+    private final Character commentMarker; // null if commenting is disabled
+    private final Character escapeCharacter; // null if escaping is disabled
+    private final boolean ignoreSurroundingSpaces; // Should leading/trailing spaces be ignored around values?
+    private final boolean allowMissingColumnNames;
+    private final boolean ignoreEmptyLines;
+    private final String recordSeparator; // for outputs
+    private final String nullString; // the string to be used for null values
+    private final String[] header; // array of header column names
+    private final boolean skipHeaderRecord;
+
+    /**
+     * Standard comma separated format, as for {@link #RFC4180} but allowing empty lines.
+     *
+     * &lt;p&gt;
+     * Settings are:
+     * &lt;/p&gt;
+     * &lt;ul&gt;
+     *   &lt;li&gt;withDelimiter(',')&lt;/li&gt;
+     *   &lt;li&gt;withQuoteChar('&quot;')&lt;/li&gt;
+     *   &lt;li&gt;withRecordSeparator(&quot;\r\n&quot;)&lt;/li&gt;
+     *   &lt;li&gt;withIgnoreEmptyLines(true)&lt;/li&gt;
+     * &lt;/ul&gt;
+     */
+<span class="fc" id="L175">    public static final CSVFormat DEFAULT = new CSVFormat(COMMA, DOUBLE_QUOTE_CHAR, null, null, null,</span>
+                                                            false, true, CRLF, null, null, false, false);
+
+    /**
+     * Comma separated format as defined by &lt;a href=&quot;http://tools.ietf.org/html/rfc4180&quot;&gt;RFC 4180&lt;/a&gt;.
+     *
+     * &lt;p&gt;
+     * Settings are:
+     * &lt;/p&gt;
+     * &lt;ul&gt;
+     *   &lt;li&gt;withDelimiter(',')&lt;/li&gt;
+     *   &lt;li&gt;withQuoteChar('&quot;')&lt;/li&gt;
+     *   &lt;li&gt;withRecordSeparator(&quot;\r\n&quot;)&lt;/li&gt;
+     *   &lt;li&gt;withIgnoreEmptyLines(false)&lt;/li&gt;
+     * &lt;/ul&gt;
+     */
+<span class="fc" id="L191">    public static final CSVFormat RFC4180 = DEFAULT.withIgnoreEmptyLines(false);</span>
+
+    /**
+     * Excel file format (using a comma as the value delimiter). Note that the actual value delimiter used by Excel is
+     * locale dependent, it might be necessary to customize this format to accommodate to your regional settings.
+     *
+     * &lt;p&gt;
+     * For example for parsing or generating a CSV file on a French system the following format will be used:
+     * &lt;/p&gt;
+     *
+     * &lt;pre&gt;
+     * CSVFormat fmt = CSVFormat.EXCEL.withDelimiter(';');
+     * &lt;/pre&gt;
+     *
+     * &lt;p&gt;
+     * Settings are:
+     * &lt;/p&gt;
+     * &lt;ul&gt;
+     *   &lt;li&gt;withDelimiter(',')&lt;/li&gt;
+     *   &lt;li&gt;withQuoteChar('&quot;')&lt;/li&gt;
+     *   &lt;li&gt;withRecordSeparator(&quot;\r\n&quot;)&lt;/li&gt;
+     *   &lt;li&gt;withIgnoreEmptyLines(false)&lt;/li&gt;
+     * &lt;/ul&gt;
+     * &lt;p&gt;
+     * Note: this is currently the same as {@link #RFC4180}.
+     * &lt;/p&gt;
+     */
+<span class="fc" id="L218">    public static final CSVFormat EXCEL = DEFAULT.withIgnoreEmptyLines(false);</span>
+
+    /**
+     * Tab-delimited format.
+     *
+     * &lt;p&gt;
+     * Settings are:
+     * &lt;/p&gt;
+     * &lt;ul&gt;
+     *   &lt;li&gt;withDelimiter('\t')&lt;/li&gt;
+     *   &lt;li&gt;withQuoteChar('&quot;')&lt;/li&gt;
+     *   &lt;li&gt;withRecordSeparator(&quot;\r\n&quot;)&lt;/li&gt;
+     *   &lt;li&gt;withIgnoreSurroundingSpaces(true)&lt;/li&gt;
+     * &lt;/ul&gt;
+     */
+<span class="fc" id="L233">    public static final CSVFormat TDF =</span>
+            DEFAULT
+<span class="fc" id="L235">            .withDelimiter(TAB)</span>
+<span class="fc" id="L236">            .withIgnoreSurroundingSpaces(true);</span>
+
+    /**
+     * Default MySQL format used by the {@code SELECT INTO OUTFILE} and {@code LOAD DATA INFILE} operations.
+     *
+     * &lt;p&gt;
+     * This is a tab-delimited format with a LF character as the line separator. Values are not quoted and special
+     * characters are escaped with '\'.
+     * &lt;/p&gt;
+     *
+     * &lt;p&gt;
+     * Settings are:
+     * &lt;/p&gt;
+     * &lt;ul&gt;
+     *   &lt;li&gt;withDelimiter('\t')&lt;/li&gt;
+     *   &lt;li&gt;withQuoteChar(null)&lt;/li&gt;
+     *   &lt;li&gt;withRecordSeparator('\n')&lt;/li&gt;
+     *   &lt;li&gt;withIgnoreEmptyLines(false)&lt;/li&gt;
+     *   &lt;li&gt;withEscape('\\')&lt;/li&gt;
+     * &lt;/ul&gt;
+     * @see &lt;a href=&quot;http://dev.mysql.com/doc/refman/5.1/en/load-data.html&quot;&gt;
+     *      http://dev.mysql.com/doc/refman/5.1/en/load-data.html&lt;/a&gt;
+     */
+<span class="fc" id="L259">    public static final CSVFormat MYSQL =</span>
+            DEFAULT
+<span class="fc" id="L261">            .withDelimiter(TAB)</span>
+<span class="fc" id="L262">            .withEscape(BACKSLASH)</span>
+<span class="fc" id="L263">            .withIgnoreEmptyLines(false)</span>
+<span class="fc" id="L264">            .withQuote(null)</span>
+<span class="fc" id="L265">            .withRecordSeparator(LF);</span>
+
+    /**
+     * Returns true if the given character is a line break character.
+     *
+     * @param c
+     *            the character to check
+     *
+     * @return true if &lt;code&gt;c&lt;/code&gt; is a line break character
+     */
+    private static boolean isLineBreak(final char c) {
+<span class="fc bfc" id="L276" title="All 4 branches covered.">        return c == LF || c == CR;</span>
+    }
+
+    /**
+     * Returns true if the given character is a line break character.
+     *
+     * @param c
+     *            the character to check, may be null
+     *
+     * @return true if &lt;code&gt;c&lt;/code&gt; is a line break character (and not null)
+     */
+    private static boolean isLineBreak(final Character c) {
+<span class="fc bfc" id="L288" title="All 4 branches covered.">        return c != null &amp;&amp; isLineBreak(c.charValue());</span>
+    }
+
+    /**
+     * Creates a new CSV format with the specified delimiter.
+     *
+     * &lt;p&gt;Use this method if you want to create a CSVFormat from scratch. All fields but the delimiter will be
+     * initialized with null/false.&lt;/p&gt;
+     *
+     * @param delimiter
+     *            the char used for value separation, must not be a line break character
+     * @return a new CSV format.
+     * @throws IllegalArgumentException if the delimiter is a line break character
+     *
+     * @see #DEFAULT
+     * @see #RFC4180
+     * @see #MYSQL
+     * @see #EXCEL
+     * @see #TDF
+     */
+    public static CSVFormat newFormat(final char delimiter) {
+<span class="fc" id="L309">        return new CSVFormat(delimiter, null, null, null, null, false, false, null, null, null, false, false);</span>
+    }
+
+    /**
+     * Creates a customized CSV format.
+     *
+     * @param delimiter
+     *            the char used for value separation, must not be a line break character
+     * @param quoteChar
+     *            the Character used as value encapsulation marker, may be {@code null} to disable
+     * @param quoteMode
+     *            the quote mode
+     * @param commentStart
+     *            the Character used for comment identification, may be {@code null} to disable
+     * @param escape
+     *            the Character used to escape special characters in values, may be {@code null} to disable
+     * @param ignoreSurroundingSpaces
+     *            {@code true} when whitespaces enclosing values should be ignored
+     * @param ignoreEmptyLines
+     *            {@code true} when the parser should skip empty lines
+     * @param recordSeparator
+     *            the line separator to use for output
+     * @param nullString
+     *            the line separator to use for output
+     * @param header
+     *            the header
+     * @param skipHeaderRecord TODO
+     * @param allowMissingColumnNames TODO
+     * @throws IllegalArgumentException if the delimiter is a line break character
+     */
+    private CSVFormat(final char delimiter, final Character quoteChar,
+            final QuoteMode quoteMode, final Character commentStart,
+            final Character escape, final boolean ignoreSurroundingSpaces,
+            final boolean ignoreEmptyLines, final String recordSeparator,
+            final String nullString, final String[] header, final boolean skipHeaderRecord,
+<span class="fc" id="L344">            final boolean allowMissingColumnNames) {</span>
+<span class="pc bpc" id="L345" title="1 of 2 branches missed.">        if (isLineBreak(delimiter)) {</span>
+<span class="nc" id="L346">            throw new IllegalArgumentException(&quot;The delimiter cannot be a line break&quot;);</span>
+        }
+<span class="fc" id="L348">        this.delimiter = delimiter;</span>
+<span class="fc" id="L349">        this.quoteCharacter = quoteChar;</span>
+<span class="fc" id="L350">        this.quoteMode = quoteMode;</span>
+<span class="fc" id="L351">        this.commentMarker = commentStart;</span>
+<span class="fc" id="L352">        this.escapeCharacter = escape;</span>
+<span class="fc" id="L353">        this.ignoreSurroundingSpaces = ignoreSurroundingSpaces;</span>
+<span class="fc" id="L354">        this.allowMissingColumnNames = allowMissingColumnNames;</span>
+<span class="fc" id="L355">        this.ignoreEmptyLines = ignoreEmptyLines;</span>
+<span class="fc" id="L356">        this.recordSeparator = recordSeparator;</span>
+<span class="fc" id="L357">        this.nullString = nullString;</span>
+<span class="fc bfc" id="L358" title="All 2 branches covered.">        if (header == null) {</span>
+<span class="fc" id="L359">            this.header = null;</span>
+        } else {
+<span class="fc" id="L361">            final Set&lt;String&gt; dupCheck = new HashSet&lt;String&gt;();</span>
+<span class="fc bfc" id="L362" title="All 2 branches covered.">            for (final String hdr : header) {</span>
+<span class="fc bfc" id="L363" title="All 2 branches covered.">                if (!dupCheck.add(hdr)) {</span>
+<span class="fc" id="L364">                    throw new IllegalArgumentException(&quot;The header contains a duplicate entry: '&quot; + hdr + &quot;' in &quot; +</span>
+<span class="fc" id="L365">                            Arrays.toString(header));</span>
+                }
+            }
+<span class="fc" id="L368">            this.header = header.clone();</span>
+        }
+<span class="fc" id="L370">        this.skipHeaderRecord = skipHeaderRecord;</span>
+<span class="fc" id="L371">        validate();</span>
+<span class="fc" id="L372">    }</span>
+
+    @Override
+    public boolean equals(final Object obj) {
+<span class="fc bfc" id="L376" title="All 2 branches covered.">        if (this == obj) {</span>
+<span class="fc" id="L377">            return true;</span>
+        }
+<span class="fc bfc" id="L379" title="All 2 branches covered.">        if (obj == null) {</span>
+<span class="fc" id="L380">            return false;</span>
+        }
+<span class="fc bfc" id="L382" title="All 2 branches covered.">        if (getClass() != obj.getClass()) {</span>
+<span class="fc" id="L383">            return false;</span>
+        }
+
+<span class="fc" id="L386">        final CSVFormat other = (CSVFormat) obj;</span>
+<span class="fc bfc" id="L387" title="All 2 branches covered.">        if (delimiter != other.delimiter) {</span>
+<span class="fc" id="L388">            return false;</span>
+        }
+<span class="fc bfc" id="L390" title="All 2 branches covered.">        if (quoteMode != other.quoteMode) {</span>
+<span class="fc" id="L391">            return false;</span>
+        }
+<span class="pc bpc" id="L393" title="1 of 2 branches missed.">        if (quoteCharacter == null) {</span>
+<span class="nc bnc" id="L394" title="All 2 branches missed.">            if (other.quoteCharacter != null) {</span>
+<span class="nc" id="L395">                return false;</span>
+            }
+<span class="fc bfc" id="L397" title="All 2 branches covered.">        } else if (!quoteCharacter.equals(other.quoteCharacter)) {</span>
+<span class="fc" id="L398">            return false;</span>
+        }
+<span class="fc bfc" id="L400" title="All 2 branches covered.">        if (commentMarker == null) {</span>
+<span class="pc bpc" id="L401" title="1 of 2 branches missed.">            if (other.commentMarker != null) {</span>
+<span class="nc" id="L402">                return false;</span>
+            }
+<span class="fc bfc" id="L404" title="All 2 branches covered.">        } else if (!commentMarker.equals(other.commentMarker)) {</span>
+<span class="fc" id="L405">            return false;</span>
+        }
+<span class="fc bfc" id="L407" title="All 2 branches covered.">        if (escapeCharacter == null) {</span>
+<span class="pc bpc" id="L408" title="1 of 2 branches missed.">            if (other.escapeCharacter != null) {</span>
+<span class="nc" id="L409">                return false;</span>
+            }
+<span class="fc bfc" id="L411" title="All 2 branches covered.">        } else if (!escapeCharacter.equals(other.escapeCharacter)) {</span>
+<span class="fc" id="L412">            return false;</span>
+        }
+<span class="fc bfc" id="L414" title="All 2 branches covered.">        if (nullString == null) {</span>
+<span class="pc bpc" id="L415" title="1 of 2 branches missed.">            if (other.nullString != null) {</span>
+<span class="nc" id="L416">                return false;</span>
+            }
+<span class="fc bfc" id="L418" title="All 2 branches covered.">        } else if (!nullString.equals(other.nullString)) {</span>
+<span class="fc" id="L419">            return false;</span>
+        }
+<span class="fc bfc" id="L421" title="All 2 branches covered.">        if (!Arrays.equals(header, other.header)) {</span>
+<span class="fc" id="L422">            return false;</span>
+        }
+<span class="fc bfc" id="L424" title="All 2 branches covered.">        if (ignoreSurroundingSpaces != other.ignoreSurroundingSpaces) {</span>
+<span class="fc" id="L425">            return false;</span>
+        }
+<span class="fc bfc" id="L427" title="All 2 branches covered.">        if (ignoreEmptyLines != other.ignoreEmptyLines) {</span>
+<span class="fc" id="L428">            return false;</span>
+        }
+<span class="fc bfc" id="L430" title="All 2 branches covered.">        if (skipHeaderRecord != other.skipHeaderRecord) {</span>
+<span class="fc" id="L431">            return false;</span>
+        }
+<span class="pc bpc" id="L433" title="1 of 2 branches missed.">        if (recordSeparator == null) {</span>
+<span class="nc bnc" id="L434" title="All 2 branches missed.">            if (other.recordSeparator != null) {</span>
+<span class="nc" id="L435">                return false;</span>
+            }
+<span class="fc bfc" id="L437" title="All 2 branches covered.">        } else if (!recordSeparator.equals(other.recordSeparator)) {</span>
+<span class="fc" id="L438">            return false;</span>
+        }
+<span class="fc" id="L440">        return true;</span>
+    }
+
+    /**
+     * Formats the specified values.
+     *
+     * @param values
+     *            the values to format
+     * @return the formatted values
+     */
+    public String format(final Object... values) {
+<span class="fc" id="L451">        final StringWriter out = new StringWriter();</span>
+        try {
+<span class="fc" id="L453">            new CSVPrinter(out, this).printRecord(values);</span>
+<span class="fc" id="L454">            return out.toString().trim();</span>
+<span class="nc" id="L455">        } catch (final IOException e) {</span>
+            // should not happen because a StringWriter does not do IO.
+<span class="nc" id="L457">            throw new IllegalStateException(e);</span>
+        }
+    }
+
+    /**
+     * Returns the character marking the start of a line comment.
+     *
+     * @return the comment start marker, may be {@code null}
+     */
+    public Character getCommentMarker() {
+<span class="fc" id="L467">        return commentMarker;</span>
+    }
+
+    /**
+     * Returns the character delimiting the values (typically ';', ',' or '\t').
+     *
+     * @return the delimiter character
+     */
+    public char getDelimiter() {
+<span class="fc" id="L476">        return delimiter;</span>
+    }
+
+    /**
+     * Returns the escape character.
+     *
+     * @return the escape character, may be {@code null}
+     */
+    public Character getEscapeCharacter() {
+<span class="fc" id="L485">        return escapeCharacter;</span>
+    }
+
+    /**
+     * Returns a copy of the header array.
+     *
+     * @return a copy of the header array; {@code null} if disabled, the empty array if to be read from the file
+     */
+    public String[] getHeader() {
+<span class="fc bfc" id="L494" title="All 2 branches covered.">        return header != null ? header.clone() : null;</span>
+    }
+
+    /**
+     * Specifies whether missing column names are allowed when parsing the header line.
+     *
+     * @return {@code true} if missing column names are allowed when parsing the header line, {@code false} to throw an
+     *         {@link IllegalArgumentException}.
+     */
+    public boolean getAllowMissingColumnNames() {
+<span class="fc" id="L504">        return allowMissingColumnNames;</span>
+    }
+
+    /**
+     * Specifies whether empty lines between records are ignored when parsing input.
+     *
+     * @return {@code true} if empty lines between records are ignored, {@code false} if they are turned into empty
+     *         records.
+     */
+    public boolean getIgnoreEmptyLines() {
+<span class="fc" id="L514">        return ignoreEmptyLines;</span>
+    }
+
+    /**
+     * Specifies whether spaces around values are ignored when parsing input.
+     *
+     * @return {@code true} if spaces around values are ignored, {@code false} if they are treated as part of the
+     *         value.
+     */
+    public boolean getIgnoreSurroundingSpaces() {
+<span class="fc" id="L524">        return ignoreSurroundingSpaces;</span>
+    }
+
+    /**
+     * Gets the String to convert to and from {@code null}.
+     * &lt;ul&gt;
+     * &lt;li&gt;
+     * &lt;strong&gt;Reading:&lt;/strong&gt; Converts strings equal to the given {@code nullString} to {@code null} when reading
+     * records.
+     * &lt;/li&gt;
+     * &lt;li&gt;
+     * &lt;strong&gt;Writing:&lt;/strong&gt; Writes {@code null} as the given {@code nullString} when writing records.&lt;/li&gt;
+     * &lt;/ul&gt;
+     *
+     * @return the String to convert to and from {@code null}. No substitution occurs if {@code null}
+     */
+    public String getNullString() {
+<span class="fc" id="L541">        return nullString;</span>
+    }
+
+    /**
+     * Returns the character used to encapsulate values containing special characters.
+     *
+     * @return the quoteChar character, may be {@code null}
+     */
+    public Character getQuoteCharacter() {
+<span class="fc" id="L550">        return quoteCharacter;</span>
+    }
+
+    /**
+     * Returns the quote policy output fields.
+     *
+     * @return the quote policy
+     */
+    public QuoteMode getQuoteMode() {
+<span class="fc" id="L559">        return quoteMode;</span>
+    }
+
+    /**
+     * Returns the record separator delimiting output records.
+     *
+     * @return the record separator
+     */
+    public String getRecordSeparator() {
+<span class="fc" id="L568">        return recordSeparator;</span>
+    }
+
+    /**
+     * Returns whether to skip the header record.
+     *
+     * @return whether to skip the header record.
+     */
+    public boolean getSkipHeaderRecord() {
+<span class="fc" id="L577">        return skipHeaderRecord;</span>
+    }
+
+    @Override
+    public int hashCode()
+    {
+<span class="fc" id="L583">        final int prime = 31;</span>
+<span class="fc" id="L584">        int result = 1;</span>
+
+<span class="fc" id="L586">        result = prime * result + delimiter;</span>
+<span class="pc bpc" id="L587" title="1 of 2 branches missed.">        result = prime * result + ((quoteMode == null) ? 0 : quoteMode.hashCode());</span>
+<span class="pc bpc" id="L588" title="1 of 2 branches missed.">        result = prime * result + ((quoteCharacter == null) ? 0 : quoteCharacter.hashCode());</span>
+<span class="pc bpc" id="L589" title="1 of 2 branches missed.">        result = prime * result + ((commentMarker == null) ? 0 : commentMarker.hashCode());</span>
+<span class="pc bpc" id="L590" title="1 of 2 branches missed.">        result = prime * result + ((escapeCharacter == null) ? 0 : escapeCharacter.hashCode());</span>
+<span class="pc bpc" id="L591" title="1 of 2 branches missed.">        result = prime * result + ((nullString == null) ? 0 : nullString.hashCode());</span>
+<span class="pc bpc" id="L592" title="1 of 2 branches missed.">        result = prime * result + (ignoreSurroundingSpaces ? 1231 : 1237);</span>
+<span class="pc bpc" id="L593" title="1 of 2 branches missed.">        result = prime * result + (ignoreEmptyLines ? 1231 : 1237);</span>
+<span class="pc bpc" id="L594" title="1 of 2 branches missed.">        result = prime * result + (skipHeaderRecord ? 1231 : 1237);</span>
+<span class="pc bpc" id="L595" title="1 of 2 branches missed.">        result = prime * result + ((recordSeparator == null) ? 0 : recordSeparator.hashCode());</span>
+<span class="fc" id="L596">        result = prime * result + Arrays.hashCode(header);</span>
+<span class="fc" id="L597">        return result;</span>
+    }
+
+    /**
+     * Specifies whether comments are supported by this format.
+     *
+     * Note that the comment introducer character is only recognized at the start of a line.
+     *
+     * @return {@code true} is comments are supported, {@code false} otherwise
+     */
+    public boolean isCommentMarkerSet() {
+<span class="fc bfc" id="L608" title="All 2 branches covered.">        return commentMarker != null;</span>
+    }
+
+    /**
+     * Returns whether escape are being processed.
+     *
+     * @return {@code true} if escapes are processed
+     */
+    public boolean isEscapeCharacterSet() {
+<span class="fc bfc" id="L617" title="All 2 branches covered.">        return escapeCharacter != null;</span>
+    }
+
+    /**
+     * Returns whether a nullString has been defined.
+     *
+     * @return {@code true} if a nullString is defined
+     */
+    public boolean isNullStringSet() {
+<span class="pc bpc" id="L626" title="1 of 2 branches missed.">        return nullString != null;</span>
+    }
+
+    /**
+     * Returns whether a quoteChar has been defined.
+     *
+     * @return {@code true} if a quoteChar is defined
+     */
+    public boolean isQuoteCharacterSet() {
+<span class="fc bfc" id="L635" title="All 2 branches covered.">        return quoteCharacter != null;</span>
+    }
+
+    /**
+     * Parses the specified content.
+     *
+     * &lt;p&gt;
+     * See also the various static parse methods on {@link CSVParser}.
+     * &lt;/p&gt;
+     *
+     * @param in
+     *            the input stream
+     * @return a parser over a stream of {@link CSVRecord}s.
+     * @throws IOException
+     *             If an I/O error occurs
+     */
+    public CSVParser parse(final Reader in) throws IOException {
+<span class="fc" id="L652">        return new CSVParser(in, this);</span>
+    }
+
+    /**
+     * Prints to the specified output.
+     *
+     * &lt;p&gt;
+     * See also {@link CSVPrinter}.
+     * &lt;/p&gt;
+     *
+     * @param out
+     *        the output
+     * @return a printer to an output
+     * @throws IOException
+     *         thrown if the optional header cannot be printed.
+     */
+    public CSVPrinter print(final Appendable out) throws IOException {
+<span class="fc" id="L669">        return new CSVPrinter(out, this);</span>
+    }
+
+    @Override
+    public String toString() {
+<span class="fc" id="L674">        final StringBuilder sb = new StringBuilder();</span>
+<span class="fc" id="L675">        sb.append(&quot;Delimiter=&lt;&quot;).append(delimiter).append('&gt;');</span>
+<span class="pc bpc" id="L676" title="1 of 2 branches missed.">        if (isEscapeCharacterSet()) {</span>
+<span class="nc" id="L677">            sb.append(' ');</span>
+<span class="nc" id="L678">            sb.append(&quot;Escape=&lt;&quot;).append(escapeCharacter).append('&gt;');</span>
+        }
+<span class="pc bpc" id="L680" title="1 of 2 branches missed.">        if (isQuoteCharacterSet()) {</span>
+<span class="fc" id="L681">            sb.append(' ');</span>
+<span class="fc" id="L682">            sb.append(&quot;QuoteChar=&lt;&quot;).append(quoteCharacter).append('&gt;');</span>
+        }
+<span class="fc bfc" id="L684" title="All 2 branches covered.">        if (isCommentMarkerSet()) {</span>
+<span class="fc" id="L685">            sb.append(' ');</span>
+<span class="fc" id="L686">            sb.append(&quot;CommentStart=&lt;&quot;).append(commentMarker).append('&gt;');</span>
+        }
+<span class="pc bpc" id="L688" title="1 of 2 branches missed.">        if (isNullStringSet()) {</span>
+<span class="nc" id="L689">            sb.append(' ');</span>
+<span class="nc" id="L690">            sb.append(&quot;NullString=&lt;&quot;).append(nullString).append('&gt;');</span>
+        }
+<span class="pc bpc" id="L692" title="1 of 2 branches missed.">        if(recordSeparator != null) {</span>
+<span class="nc" id="L693">            sb.append(' ');</span>
+<span class="nc" id="L694">            sb.append(&quot;RecordSeparator=&lt;&quot;).append(recordSeparator).append('&gt;');</span>
+        }
+<span class="fc bfc" id="L696" title="All 2 branches covered.">        if (getIgnoreEmptyLines()) {</span>
+<span class="fc" id="L697">            sb.append(&quot; EmptyLines:ignored&quot;);</span>
+        }
+<span class="fc bfc" id="L699" title="All 2 branches covered.">        if (getIgnoreSurroundingSpaces()) {</span>
+<span class="fc" id="L700">            sb.append(&quot; SurroundingSpaces:ignored&quot;);</span>
+        }
+<span class="fc" id="L702">        sb.append(&quot; SkipHeaderRecord:&quot;).append(skipHeaderRecord);</span>
+<span class="pc bpc" id="L703" title="1 of 2 branches missed.">        if (header != null) {</span>
+<span class="nc" id="L704">            sb.append(' ');</span>
+<span class="nc" id="L705">            sb.append(&quot;Header:&quot;).append(Arrays.toString(header));</span>
+        }
+<span class="fc" id="L707">        return sb.toString();</span>
+    }
+
+    /**
+     * Verifies the consistency of the parameters and throws an IllegalArgumentException if necessary.
+     *
+     * @throws IllegalArgumentException
+     */
+    private void validate() throws IllegalArgumentException {
+<span class="fc bfc" id="L716" title="All 4 branches covered.">        if (quoteCharacter != null &amp;&amp; delimiter == quoteCharacter.charValue()) {</span>
+<span class="fc" id="L717">            throw new IllegalArgumentException(</span>
+                    &quot;The quoteChar character and the delimiter cannot be the same ('&quot; + quoteCharacter + &quot;')&quot;);
+        }
+
+<span class="fc bfc" id="L721" title="All 4 branches covered.">        if (escapeCharacter != null &amp;&amp; delimiter == escapeCharacter.charValue()) {</span>
+<span class="fc" id="L722">            throw new IllegalArgumentException(</span>
+                    &quot;The escape character and the delimiter cannot be the same ('&quot; + escapeCharacter + &quot;')&quot;);
+        }
+
+<span class="fc bfc" id="L726" title="All 4 branches covered.">        if (commentMarker != null &amp;&amp; delimiter == commentMarker.charValue()) {</span>
+<span class="fc" id="L727">            throw new IllegalArgumentException(</span>
+                    &quot;The comment start character and the delimiter cannot be the same ('&quot; + commentMarker + &quot;')&quot;);
+        }
+
+<span class="fc bfc" id="L731" title="All 4 branches covered.">        if (quoteCharacter != null &amp;&amp; quoteCharacter.equals(commentMarker)) {</span>
+<span class="fc" id="L732">            throw new IllegalArgumentException(</span>
+                    &quot;The comment start character and the quoteChar cannot be the same ('&quot; + commentMarker + &quot;')&quot;);
+        }
+
+<span class="fc bfc" id="L736" title="All 4 branches covered.">        if (escapeCharacter != null &amp;&amp; escapeCharacter.equals(commentMarker)) {</span>
+<span class="fc" id="L737">            throw new IllegalArgumentException(</span>
+                    &quot;The comment start and the escape character cannot be the same ('&quot; + commentMarker + &quot;')&quot;);
+        }
+
+<span class="fc bfc" id="L741" title="All 4 branches covered.">        if (escapeCharacter == null &amp;&amp; quoteMode == QuoteMode.NONE) {</span>
+<span class="fc" id="L742">            throw new IllegalArgumentException(&quot;No quotes mode set but no escape character is set&quot;);</span>
+        }
+<span class="fc" id="L744">    }</span>
+
+    /**
+     * Sets the comment start marker of the format to the specified character.
+     *
+     * Note that the comment start character is only recognized at the start of a line.
+     *
+     * @param commentMarker
+     *            the comment start marker
+     * @return A new CSVFormat that is equal to this one but with the specified character as the comment start marker
+     * @throws IllegalArgumentException
+     *             thrown if the specified character is a line break
+     */
+    public CSVFormat withCommentMarker(final char commentMarker) {
+<span class="fc" id="L758">        return withCommentMarker(Character.valueOf(commentMarker));</span>
+    }
+
+    /**
+     * Sets the comment start marker of the format to the specified character.
+     *
+     * Note that the comment start character is only recognized at the start of a line.
+     *
+     * @param commentMarker
+     *            the comment start marker, use {@code null} to disable
+     * @return A new CSVFormat that is equal to this one but with the specified character as the comment start marker
+     * @throws IllegalArgumentException
+     *             thrown if the specified character is a line break
+     */
+    public CSVFormat withCommentMarker(final Character commentMarker) {
+<span class="fc bfc" id="L773" title="All 2 branches covered.">        if (isLineBreak(commentMarker)) {</span>
+<span class="fc" id="L774">            throw new IllegalArgumentException(&quot;The comment start marker character cannot be a line break&quot;);</span>
+        }
+<span class="fc" id="L776">        return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter,</span>
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header, skipHeaderRecord,
+                allowMissingColumnNames);
+    }
+
+    /**
+     * Sets the delimiter of the format to the specified character.
+     *
+     * @param delimiter
+     *            the delimiter character
+     * @return A new CSVFormat that is equal to this with the specified character as delimiter
+     * @throws IllegalArgumentException
+     *             thrown if the specified character is a line break
+     */
+    public CSVFormat withDelimiter(final char delimiter) {
+<span class="fc bfc" id="L791" title="All 2 branches covered.">        if (isLineBreak(delimiter)) {</span>
+<span class="fc" id="L792">            throw new IllegalArgumentException(&quot;The delimiter cannot be a line break&quot;);</span>
+        }
+<span class="fc" id="L794">        return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter,</span>
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header, skipHeaderRecord,
+                allowMissingColumnNames);
+    }
+
+    /**
+     * Sets the escape character of the format to the specified character.
+     *
+     * @param escape
+     *            the escape character
+     * @return A new CSVFormat that is equal to his but with the specified character as the escape character
+     * @throws IllegalArgumentException
+     *             thrown if the specified character is a line break
+     */
+    public CSVFormat withEscape(final char escape) {
+<span class="fc" id="L809">        return withEscape(Character.valueOf(escape));</span>
+    }
+
+    /**
+     * Sets the escape character of the format to the specified character.
+     *
+     * @param escape
+     *            the escape character, use {@code null} to disable
+     * @return A new CSVFormat that is equal to this but with the specified character as the escape character
+     * @throws IllegalArgumentException
+     *             thrown if the specified character is a line break
+     */
+    public CSVFormat withEscape(final Character escape) {
+<span class="fc bfc" id="L822" title="All 2 branches covered.">        if (isLineBreak(escape)) {</span>
+<span class="fc" id="L823">            throw new IllegalArgumentException(&quot;The escape character cannot be a line break&quot;);</span>
+        }
+<span class="fc" id="L825">        return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escape,</span>
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header, skipHeaderRecord,
+                allowMissingColumnNames);
+    }
+
+    /**
+     * Sets the header of the format. The header can either be parsed automatically from the input file with:
+     *
+     * &lt;pre&gt;
+     * CSVFormat format = aformat.withHeader();&lt;/pre&gt;
+     *
+     * or specified manually with:
+     *
+     * &lt;pre&gt;
+     * CSVFormat format = aformat.withHeader(&amp;quot;name&amp;quot;, &amp;quot;email&amp;quot;, &amp;quot;phone&amp;quot;);&lt;/pre&gt;
+     *
+     * @param header
+     *            the header, {@code null} if disabled, empty if parsed automatically, user specified otherwise.
+     *
+     * @return A new CSVFormat that is equal to this but with the specified header
+     * @see #withSkipHeaderRecord(boolean)
+     */
+    public CSVFormat withHeader(final String... header) {
+<span class="fc" id="L848">        return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter,</span>
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header, skipHeaderRecord,
+                allowMissingColumnNames);
+    }
+
+    /**
+     * Sets the missing column names behavior of the format.
+     *
+     * @param allowMissingColumnNames
+     *            the missing column names behavior, {@code true} to allow missing column names in the header line,
+     *            {@code false} to cause an {@link IllegalArgumentException} to be thrown.
+     * @return A new CSVFormat that is equal to this but with the specified missing column names behavior.
+     */
+    public CSVFormat withAllowMissingColumnNames(final boolean allowMissingColumnNames) {
+<span class="fc" id="L862">        return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter,</span>
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header, skipHeaderRecord,
+                allowMissingColumnNames);
+    }
+
+    /**
+     * Sets the empty line skipping behavior of the format.
+     *
+     * @param ignoreEmptyLines
+     *            the empty line skipping behavior, {@code true} to ignore the empty lines between the records,
+     *            {@code false} to translate empty lines to empty records.
+     * @return A new CSVFormat that is equal to this but with the specified empty line skipping behavior.
+     */
+    public CSVFormat withIgnoreEmptyLines(final boolean ignoreEmptyLines) {
+<span class="fc" id="L876">        return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter,</span>
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header, skipHeaderRecord,
+                allowMissingColumnNames);
+    }
+
+    /**
+     * Sets the trimming behavior of the format.
+     *
+     * @param ignoreSurroundingSpaces
+     *            the trimming behavior, {@code true} to remove the surrounding spaces, {@code false} to leave the
+     *            spaces as is.
+     * @return A new CSVFormat that is equal to this but with the specified trimming behavior.
+     */
+    public CSVFormat withIgnoreSurroundingSpaces(final boolean ignoreSurroundingSpaces) {
+<span class="fc" id="L890">        return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter,</span>
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header, skipHeaderRecord,
+                allowMissingColumnNames);
+    }
+
+    /**
+     * Performs conversions to and from null for strings on input and output.
+     * &lt;ul&gt;
+     * &lt;li&gt;
+     * &lt;strong&gt;Reading:&lt;/strong&gt; Converts strings equal to the given {@code nullString} to {@code null} when reading
+     * records.&lt;/li&gt;
+     * &lt;li&gt;
+     * &lt;strong&gt;Writing:&lt;/strong&gt; Writes {@code null} as the given {@code nullString} when writing records.&lt;/li&gt;
+     * &lt;/ul&gt;
+     *
+     * @param nullString
+     *            the String to convert to and from {@code null}. No substitution occurs if {@code null}
+     *
+     * @return A new CSVFormat that is equal to this but with the specified null conversion string.
+     */
+    public CSVFormat withNullString(final String nullString) {
+<span class="fc" id="L911">        return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter,</span>
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header, skipHeaderRecord,
+                allowMissingColumnNames);
+    }
+
+    /**
+     * Sets the quoteChar of the format to the specified character.
+     *
+     * @param quoteChar
+     *            the quoteChar character
+     * @return A new CSVFormat that is equal to this but with the specified character as quoteChar
+     * @throws IllegalArgumentException
+     *             thrown if the specified character is a line break
+     */
+    public CSVFormat withQuote(final char quoteChar) {
+<span class="fc" id="L926">        return withQuote(Character.valueOf(quoteChar));</span>
+    }
+
+    /**
+     * Sets the quoteChar of the format to the specified character.
+     *
+     * @param quoteChar
+     *            the quoteChar character, use {@code null} to disable
+     * @return A new CSVFormat that is equal to this but with the specified character as quoteChar
+     * @throws IllegalArgumentException
+     *             thrown if the specified character is a line break
+     */
+    public CSVFormat withQuote(final Character quoteChar) {
+<span class="fc bfc" id="L939" title="All 2 branches covered.">        if (isLineBreak(quoteChar)) {</span>
+<span class="fc" id="L940">            throw new IllegalArgumentException(&quot;The quoteChar cannot be a line break&quot;);</span>
+        }
+<span class="fc" id="L942">        return new CSVFormat(delimiter, quoteChar, quoteMode, commentMarker, escapeCharacter,</span>
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header, skipHeaderRecord,
+                allowMissingColumnNames);
+    }
+
+    /**
+     * Sets the output quote policy of the format to the specified value.
+     *
+     * @param quoteModePolicy
+     *            the quote policy to use for output.
+     *
+     * @return A new CSVFormat that is equal to this but with the specified quote policy
+     */
+    public CSVFormat withQuoteMode(final QuoteMode quoteModePolicy) {
+<span class="fc" id="L956">        return new CSVFormat(delimiter, quoteCharacter, quoteModePolicy, commentMarker, escapeCharacter,</span>
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header, skipHeaderRecord,
+                allowMissingColumnNames);
+    }
+
+    /**
+     * Sets the record separator of the format to the specified character.
+     *
+     * &lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This setting is only used during printing and does not affect parsing. Parsing
+     * currently only works for inputs with '\n', '\r' and &quot;\r\n&quot;&lt;/p&gt;
+     *
+     * @param recordSeparator
+     *            the record separator to use for output.
+     *
+     * @return A new CSVFormat that is equal to this but with the the specified output record separator
+     */
+    public CSVFormat withRecordSeparator(final char recordSeparator) {
+<span class="fc" id="L973">        return withRecordSeparator(String.valueOf(recordSeparator));</span>
+    }
+
+    /**
+     * Sets the record separator of the format to the specified String.
+     *
+     * &lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This setting is only used during printing and does not affect parsing. Parsing
+     * currently only works for inputs with '\n', '\r' and &quot;\r\n&quot;&lt;/p&gt;
+     *
+     * @param recordSeparator
+     *            the record separator to use for output.
+     *
+     * @return A new CSVFormat that is equal to this but with the the specified output record separator
+     * @throws IllegalArgumentException
+     *              if recordSeparator is none of CR, LF or CRLF
+     */
+    public CSVFormat withRecordSeparator(final String recordSeparator) {
+<span class="fc" id="L990">        return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter,</span>
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header, skipHeaderRecord,
+                allowMissingColumnNames);
+    }
+
+    /**
+     * Sets whether to skip the header record.
+     *
+     * @param skipHeaderRecord
+     *            whether to skip the header record.
+     *
+     * @return A new CSVFormat that is equal to this but with the the specified skipHeaderRecord setting.
+     * @see #withHeader(String...)
+     */
+    public CSVFormat withSkipHeaderRecord(final boolean skipHeaderRecord) {
+<span class="fc" id="L1005">        return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter,</span>
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header, skipHeaderRecord,
+                allowMissingColumnNames);
+    }
+}
+</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.1.201405082137</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVFormat.java.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVParser$1.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVParser$1.html (added)
+++ websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVParser$1.html Thu Aug 14 19:48:06 2014
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>CSVParser.new Iterator() {...}</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CSV</a> &gt; <a href="index.html" class="el_package">org.apache.commons.csv</a> &gt; <span class="el_class">CSVParser.new Iterator() {...}</span></div><h1>CSVParser.new Iterator() {...}</h1><table class="coverage" cellspacing="0" i
 d="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">6 of 69</td><td class="ctr2">91%</td><td class="bar">0 of 12</td><td class="ctr2">100%</td><td class="ctr1">0</td><td 
 class="ctr2">11</td><td class="ctr1">2</td><td class="ctr2">19</td><td class="ctr1">0</td><td class="ctr2">5</td></tr></tfoot><tbody><tr><td id="a0"><a href="CSVParser.java.html#L395" class="el_method">getNextRecord()</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="24" height="10" title="6" alt="6"/><img src="../.resources/greenbar.gif" width="16" height="10" title="4" alt="4"/></td><td class="ctr2" id="c4">40%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h0">2</td><td class="ctr2" id="i2">3</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a2"><a href="CSVParser.java.html#L414" class="el_method">next()</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="120" height="10" title="29" alt="29"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../.resources/greenbar.gif" width="120
 " height="10" title="6" alt="6"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g0">4</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i0">9</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a1"><a href="CSVParser.java.html#L403" class="el_method">hasNext()</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="82" height="10" title="20" alt="20"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"><img src="../.resources/greenbar.gif" width="120" height="10" title="6" alt="6"/></td><td class="ctr2" id="e1">100%</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g1">4</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i1">5</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a4"><a href="CSVParser.java.html#L390" class="el_method">{...}</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="24" height="10"
  title="6" alt="6"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a3"><a href="CSVParser.java.html#L432" class="el_method">remove()</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="16" height="10" title="4" alt="4"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.1.201405082137</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVParser$1.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVParser$2.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVParser$2.html (added)
+++ websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVParser$2.html Thu Aug 14 19:48:06 2014
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>CSVParser.new Object() {...}</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CSV</a> &gt; <a href="index.html" class="el_package">org.apache.commons.csv</a> &gt; <span class="el_class">CSVParser.new Object() {...}</span></div><h1>CSVParser.new Object() {...}</h1><table class="coverage" cellspacing="0" id="cov
 eragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">5 of 40</td><td class="ctr2">88%</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">0</td><td class="c
 tr2">1</td><td class="ctr1">0</td><td class="ctr2">1</td><td class="ctr1">0</td><td class="ctr2">1</td></tr></tfoot><tbody><tr><td id="a0"><a href="CSVParser.java.html#L451" class="el_method">static {...}</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="15" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="105" height="10" title="35" alt="35"/></td><td class="ctr2" id="c0">88%</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">1</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">1</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.1.201405082137</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVParser$2.html
------------------------------------------------------------------------------
    svn:eol-style = native