%metaHeader
   
by Kasper B. Graversen, 2006-2007

%menuBlock

%googleAddsTop

Version history

VersionChanges
1.50Improved processors, 08/2008.
Only minor bugfixes to the v1.50 beta.
 
1.50 BetaImproved processors, 06/2008.
* Added the following cell processors
  • Equals - test if all values are equals alone, or equals to a given constant
  • FmtBoot - format as a string any Boolean value
  • HashMapper - to map encountered values with other objects/values
  • IsIncludedIn - to ensure input value belongs to a specific set of given values
  • NotNull - to ensure non-null values for columns
  • ParseBigDecimal - parse a string to get a big decimal
  • StrNotNullOrEmpty - to ensure non-null or empty values for columns
  • StrReplace - for string manipulation
  • StrRegExReplace - for string manipulation
* Deprecated the following cell processors
  • "Required", re-implemented as "RequiredHashCode"
* Unique has been renamed to UniqueHashCode
* A new processor named Unique has been implemented
  • The Unique processor is now based on equals() identity and not anymore on hashCode() identity. Previous definition based on hashCode() has been renamed into UniqueHashCode.
* BeanReader and BeanWriter now supports method overloading of get/set methods.
* Cell processors now only throw SuperCSVException
* Added the following exceptions
  • ClassCastInputCSVException
  • NullInputException: this exception is raised now for unexpected 'null' input value for processor. Numerous processors have been modified to use that exception class.
* better handling of lines without the expected number of columns
  • The raised exception is now associated with a valid CSVContext object (previously, this object was 'null')
* Better error messages, more context information in the exception and available to the programmer
Upgrade notes.
Just copy over the .jar file and notice the deprecated classes...
 
1.30Improved integration and convenience, 01/2008.
  • BeanReader now accepts interface types to read into. The reader will create an implementation on-the-fly of the interface and use this.
  • the ITokenizer interface has become public, making 3rd party extensions better integrated.
  • The exception class now contains the file context in which it was thrown. And generally, all places exceptions are thrown have been cleaned up, streamlined and now passes the file context upon an exception.
  • An overloaded read() has been removed entirely
  • Added the following new cell processors: ParseBigDecimal
  • A new exception SuperCSVReflectionException replaces annoying Java checked exceptions ClassNotFoundException, IllegalAccessException, InstantiationException, InvocationTargetException, NoSuchMethodException
  • More methods now use the "..." notation for easy use.
 
1.20Improved processors and partial writing, 11/2007.
  • Added the ConvertNullTo cell processor which enables better support for writing partial objects, maps and lists.
  • Changed method signatures to use the Java 5 "..." notation to make the programming more natural. This has been done for
    - Various writers writeHeader()
    - ForbidSubStr, Required, StrLen
  • Small bugfix in processor StrLen
  • More documentation on the web
 
1.15Improved robustness and speed, 10/2007.
  • Made the CSV Encoder more robust (used when writing CSV files).
  • Made the CSV encoder faster. Around 25% faster!
  • Added a lot of tests.
  • Set up an environment in dir slow_tests to enable future development to easily compare efficiency with older versions of the same functionality
 
1.10Faster and better, 10/2007.
  • Introduced new cell processors parseChar, ForbidSubStr, RequireSubStr
  • Made the tokenizer 5% faster (the thing that reads and interprets the CSV files)! Reading files has never been faster!
  • The framework now support plugging in new tokenizers onto readers. Feel free to author your own fast tokenizer
  • Improved the Javadoc for some processors
  • Added source branch specifically for tokenizer speed testing and comparison. It is now easy to experiment with various tokenizing strategies.
 
1.02Small bugfixes, 09/2007.
  • Empty cells with value "" was mistakenly interpreted as an escaped quoted char rather than the empty line
  • No longer removes trailing spaces inside quotes so " hello " is read as " hello " rather than " hello"
  • Renamed the cell processor MagicToken to Token
  • TABs are not regarded as whitespace anymore
 
1.01Small bugfixes, 09/2007.
  • Inherited properties are now supported by the bean reader/writer
  • Jar file is now compiled for JDK 5.
 
1.0Initial release

The download section can be found at the Super Csv source forge download page

%googleAddsBottom