Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
1.1.0 | 2014-09-27 | ||
1.0.1 | 2014-03-02 | ||
1.0.0 | 2013-09-02 | ||
0.9.0 | 2012-02-19 | ||
readme.txt | 2014-09-28 | 5.1 kB | |
Totals: 5 Items | 5.1 kB | 0 |
ROW-BEAN version 1.1.0 Release notes INTRODUCTION: ================================================================================================================= row-bean 1.1.0 ================================================================================================================= Annotations : It is now possible to describe the mapping directly in the target class using a series of dedicated annotations. Corrections: bug fixed : unable to load bean-row.xsd in case where "bean-row.xsd" is not into the classpath under olg/csv/bean directory in addition to "row-bean-core.jar". olg.csv.bean.loader.Util.validate(File file) is concerned. bug fixed : when field has a name like "iBean". legal setter and getter are setiBean, getiBean, not setIBean or getIBean which are for a field like Ibean. Util.identifyGetter,Util.identifySetter are concerned. Util.getGetter is removed. bug fixed : RowProcessor produced rows have their size attribute undervalued. Change in Cell class: add static method String getSheetFormatNumber(int num) add static method String defaultCellName(String num) Change in BeanProcessorLoader class:the checking that a field class is concrete is no longer provided by checkField method(check a class is not an interface or not an array ) but Util.isConcrete( check a class is not an interface or an abstract class). Change in BeanWriter class : no longer offers WriteHeaders method. It provides writing headers when the Writer (CSV, ODS) said in these parameters the withHeaders option. Change in BeanReader class: a similar principle is applied to the BeanReader to automatically skip a line of headers when its Reader in these parameters indicates the withHeaders option. Automatic leap made by CSVReader ODSReader is therefore no longer assured. ================================================================================================================= row-bean 1.0.1 PATCH ================================================================================================================= CORRECTION : *1.0.0 - BUG on XML Validation : olg.csv.bean.loader.Util : BeanReader doesn't find bean-row.xsd into row-bean.jar. ================================================================================================================= row-bean 1.0.0 ================================================================================================================= *CSVReader : **Constructors use CSVSettings to define some options. **add constructor with inputStream instead of file. Allows to open file from jar. **CSVReader default charset is JVM default charset instead of US-ASCII. ** default line separator is operating system line separator instead of CRLF. **It is no longer necessary to pass line separator in constructor arguments. **close method do not throw IOException **CVSReader : setPolicyReader is removed *PolicyReader class is removed : ** To specify reading option like evict instanciate empty cell used CSVSettings class as CSVReader constructor argument. **To specify reading option like evict empty row use IgnoreNullReader class. * Cell : add constructor with num argument shown in sheet format(assumes to parse [A-Z]+ regex). * Row : implements Iterable<Cell> in order to ease its use in loop ( for instance for (Cell cell : row){} ) toString() method has been review. *CSVWriter : **Constructors use CSVSettings to define some options. **by default charset is JVM default charset instead of US-ASCII. **default line separator is operating system line separator instead of CRLF. **close method do not throw IOException *BeanReader, BeanWriter : By default, doesn't skips the empty rows. Use skipEmptyRow parameter in BeanReader/BeanWriter constructor to specify another choice (the constructor will use IgnoreNullReader/IgnoreNullWriter class). *AbstractStringFilter : UpperFilter, LowerFilter and UpperFirstFilter accept a locale parameter to Converts all of the characters in a String using the rules of the given Locale Reader xml descriptor filtre node accept locale attribute to specify an optional locale *bean-reader mapping : **"simple" XML element under "getter" XML Element has been renamed to "column". **"filtre" XML element under "getter" XML Element has bean renamed to "filter". *bean-writer mapping : **"filtre" XML element under "properties" XML Element has bean renamed to "filter". *DateParser : DateFormatter : Writer and Reader xml descriptor accept locale attribute to specifiy a locale. *Bean-writer description : column could declare rang number to allow writing in discontinuous cells. *Row-bean XML type : offers a symetrical mapping used to read as to write bean. *SpreedSheet reader and writer : *New classes to parse ODS (Open Document Spreedsheet) document (provided by Open-Office suite) **ODSReader : **ODSWriter : *these implementations used ODFDOM api. *Dependency : for some commodity, i introduce slf4j api to log few messages. See pom file to show more dependencies like transitives.