Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 235FF186E7 for ; Wed, 14 Oct 2015 20:20:09 +0000 (UTC) Received: (qmail 21868 invoked by uid 500); 14 Oct 2015 20:20:06 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 21781 invoked by uid 500); 14 Oct 2015 20:20:05 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 21770 invoked by uid 99); 14 Oct 2015 20:20:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2015 20:20:05 +0000 Date: Wed, 14 Oct 2015 20:20:05 +0000 (UTC) From: "Yamil Medina (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CSV-159) Add IgnoreCase option for accessing header names MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CSV-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yamil Medina closed CSV-159. ---------------------------- Thanks! my pleasure be able to help. > Add IgnoreCase option for accessing header names > ------------------------------------------------ > > Key: CSV-159 > URL: https://issues.apache.org/jira/browse/CSV-159 > Project: Commons CSV > Issue Type: New Feature > Components: Parser > Reporter: Yamil Medina > Assignee: Gary Gregory > Priority: Minor > Labels: features, newbie > Fix For: 1.3 > > > I added a feature, the possibility to use "ignorecase" access in HeaderMapping. > The change is basically the use of an instance of _{{TreeMap}}_ + _{{String.CASE_INSENSITIVE_ORDER}}_ comparator, when filling _{{headerMap}}_ : > bq. {{new TreeMap(String.CASE_INSENSITIVE_ORDER)}} > this based on a new flag in _{{CSVFormat}}_ class, that handles this optional format. > The feature was originally issued by this SO Question [ 1 ], plus the encouragement made in my response to contribute or propose the change. > {quote} > Here is the link to PR proposal for review: > https://github.com/apache/commons-csv/pull/9 > {quote} > > {quote} > SO question: > [ 1 ] http://stackoverflow.com/q/29911366/2619091 > {quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332)