Wikipedia has "Delimiter separated text" and "Delimiter-separated values" (http://en.wikipedia.org/wiki/Delimiter-separated_values)
This suggests that CsvFormat, Rfc4180Format, and TsvFormat could be final classes extending DsvFormat. chas On 10/16/12 12:50 PM, "Gary Gregory" <garydgreg...@gmail.com> wrote: >On Tue, Oct 16, 2012 at 3:38 PM, James Carman ><ja...@carmanconsulting.com>wrote: > >> On Tue, Oct 16, 2012 at 2:25 PM, Gary Gregory <garydgreg...@gmail.com> >> wrote: >> > >> > I did not do this one as is it seems RFC4180 defines CR+LF as the >>record >> > separator as noted in the Javadoc for >> > org.apache.commons.csv.CSVFormat.DEFAULT. >> > >> >> That's where the name of this component gets confusing to me. Since >> it's called "CSV", it would make sense that we follow RFC 4180, which >> defines the standard for comma-separated value files and thus the >> default record separator would be CRLF. However, we are allowing >> users to define whatever format they want using properties of the >> CSVFormat class (of course, if you use delimiter != ',', then it's not >> really CSV). So, what's the intent? This is more of a >> delimited-record format parser/writer component which supports CSV. >> Thus, it is not really very well-named. >> > >Right! Tab delimited is common too. So... what's a better name? > >Commons DSV (Delimiter-Separated Values)? >Commons Text Records? >Commons Text Table? > >Gary > > >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >> For additional commands, e-mail: dev-h...@commons.apache.org >> >> > > >-- >E-Mail: garydgreg...@gmail.com | ggreg...@apache.org >JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0 >Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK >Blog: http://garygregory.wordpress.com >Home: http://garygregory.com/ >Tweet! http://twitter.com/GaryGregory --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org