• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [OT] Parsing legacy fixed width flat files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Parsing legacy fixed width flat files


  • Subject: Re: [OT] Parsing legacy fixed width flat files
  • From: Q <email@hidden>
  • Date: Wed, 25 Mar 2009 17:46:59 +1000

Thanks, I have found a library called jRecordBind [1] that is very similar to JAXB. I think it's going to do what I need, although I still have a few things to work out, like if I can use Enums or not.

[1] https://jrecordbind.dev.java.net/

On 25/03/2009, at 4:54 PM, John Bruce wrote:

Hi Q,

I've haven't tried this one but it might be useful:

http://flatpack.sourceforge.net

I've have used the next one but I don't think it does fixed width or
multiline but it does CSV very well: (note its a commercial product)

http://www.ricebridge.com/products/csvman/

Haven't used this one in production yet but was also okay, although
not sure about multiline and fixed width again:

http://supercsv.sourceforge.net

HTH

John


On Wed, Mar 25, 2009 at 4:01 AM, Q <email@hidden> wrote:
This is a bit off topic, but the Java foo is strong here so I thought it a
good place to ask.
I am in the unfortunately position of having to write a parser for a flat
fixed width ascii file format that uses a cobol style multi-record format
where one of the leading fields defines the actual record type, which
determines how you need to parse the rest of the string.
Can anyone recommend a java library to help do this sort of data processing
that might ease my pain.
Thanks.


--

Seeya...Q

Quinton Dolan - email@hidden

Gold Coast, QLD, Australia (GMT+10)

Ph: +61 419 729 806



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




-- Seeya...Q

Quinton Dolan - email@hidden
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: [OT] Parsing legacy fixed width flat files
      • From: Kieran Kelleher <email@hidden>
References: 
 >[OT] Parsing legacy fixed width flat files (From: Q <email@hidden>)
 >Re: [OT] Parsing legacy fixed width flat files (From: John Bruce <email@hidden>)

  • Prev by Date: Re: [OT] Parsing legacy fixed width flat files
  • Next by Date: Re: WO 5.4 under windows
  • Previous by thread: Re: [OT] Parsing legacy fixed width flat files
  • Next by thread: Re: [OT] Parsing legacy fixed width flat files
  • Index(es):
    • Date
    • Thread