Commons-codec seems biased towards files and networking operation. Someone suggested Commons-convert, which is in the sandbox right now. That's seems a better match.
Thanks for your suggestion. Sebastien Original Message: ----------------- From: Paul Libbrecht p...@hoplahup.net Date: Sat, 4 Feb 2012 18:34:43 +0100 To: dev@commons.apache.org Subject: Re: Conversion utility class How about commons-codec? paul Le 4 févr. 2012 à 06:38, ma...@nimp.co.uk a écrit : > Hello, > > I am developing a utility class and would like to contribute it to an > Apache project. I am writing to know if Apache commons is the right > project, which sub project would be the right place and then how to do. > > Background: > I Work on a regular basis with embedded devices, driving them and analyzing > the results using Java and Scala code. In this domain, it is often required > to manipulate data at bit level, and the bit ordering and byte ordering > tends to vary from one type of device to another. > I did not found an open source library for converting basic data types > between each other, changing endianness and bit ordering, so I am writing > one. As it is rather boring and time consuming to do so, I would like to > share it with others. The other motivation being that other people may find > bugs and performance improvement... > > Where to contribute ? > Apache Commons Lang seems to be the right place for that kind of utility > class, however, my utility class is coded in Scala, is that ok ? I use it > in java programs without any problems since scala basic types are actually > java basic types, same for arrays. From user point of view, this is > transparent, however the documentation is not javadoc but scaladoc, that's > similar but user will definitely notice and may be confused. It seems there > is no tool to generate a javadoc from a scala file :-S > > Details: > If you want to have a look, the source, test and doc are here: > http://www.nimp.co.uk/free/conv/ > > Best regards, > Sebastien > > > -------------------------------------------------------------------- > mail2web.com Enhanced email for the mobile individual based on Microsoft® > Exchange - http://link.mail2web.com/Personal/EnhancedEmail > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org -------------------------------------------------------------------- mail2web LIVE Free email based on Microsoft® Exchange technology - http://link.mail2web.com/LIVE --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org