Results 1 to 2 of 2

Thread: Why is the FlatFileItemWriter.OutputState is a inner class

  1. #1
    Join Date
    Jan 2008
    Posts
    10

    Question Why is the FlatFileItemWriter.OutputState is a inner class

    I found it hard to reuse the FlatFileItemWriter.OutputState. Will Spring team consider making it a public one in the final release ?

    thx

  2. #2
    Join Date
    Dec 2006
    Posts
    1,061

    Default

    I think we'll more likely remove it from the class completely. It's a long story as to why it's there, but it doesn't really serve the purpose it was originally designed for. However, it's an internal detail, and we haven't really designed our ItemReaders and ItemWriters to be extended. We'll likely clean that up post R1. What use case are you trying to solve?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •