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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -