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

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -