java - How to extract single column with Spring FixedLengthTokenizer -
in examples ranges looking similar below , supposed extract multiple colums.
<bean id="fixedfiletokenizer" class="org.springframework.batch.item.file.transform.fixedlengthtokenizer"> <property name="names" value="producto , localidad, moneda, comp_instit, saldo, filler" /> <property name="columns" value="1-3, 4-9, 10-12, 13-15, 16-29, 30-31" /> </bean>
but how should extract data single column? putting 16
not work. should 16-16
or 16-17
?
after testing have found out correct range extract single character 16-16
.
Comments
Post a Comment