Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 22, 2012, 09:52:17 PM
MOON JAVA
>
Expert Shares
>
Expert Shares
>
Processing huge flat files
Pages: [
1
]
« previous
next »
Print
Author
Topic: Processing huge flat files (Read 1936 times)
arund
Newbie
Karma: +0/-0
Posts: 1
Processing huge flat files
«
on:
March 21, 2011, 10:08:26 PM »
I want to process huge flat file having 50k to 100k records, with fix positional mapping.
There two identical files with minor different and have logical relation.
Do you know if there is any third party app or library which can support loading of such flat files into system?
Logged
MOON JAVA
Processing huge flat files
«
on:
March 21, 2011, 10:08:26 PM »
Logged
garyg
Newbie
Karma: +0/-0
Posts: 12
Re: Processing huge flat files
«
Reply #1 on:
March 22, 2011, 06:01:37 PM »
There is a good java library JavaCC which can help you in parsing flat files.
javaCC uses regular expressions.
However, if it is a fixed position file, where you know the start and end location of strings to capture, then I will recommend to use simple IO to read flat file and string buffer to read line by line and using string tokenizer to capture data.
use buffered IO reader here,
Logged
MOON JAVA
Re: Processing huge flat files
«
Reply #1 on:
March 22, 2011, 06:01:37 PM »
Logged
Timmortegaa
Newbie
Karma: +0/-0
Posts: 1
Re: Processing huge flat files
«
Reply #2 on:
June 12, 2011, 07:03:07 AM »
Its amazing, loing at the time and effort you put into your blog and detailed information you provide.
Logged
Tumbler with Straw
MOON JAVA
Re: Processing huge flat files
«
Reply #2 on:
June 12, 2011, 07:03:07 AM »
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Expert Shares
-----------------------------
=> Expert Shares
-----------------------------
EJB
-----------------------------
=> EJB
-----------------------------
Java
-----------------------------
=> Java
-----------------------------
J2EE
-----------------------------
=> J2EE
-----------------------------
Spring
-----------------------------
=> Spring
-----------------------------
Struts
-----------------------------
=> Struts
-----------------------------
J2ME
-----------------------------
=> J2ME
-----------------------------
Tomcat
-----------------------------
=> Tomcat
-----------------------------
JavaFX
-----------------------------
=> JavaFX
-----------------------------
JSTL
-----------------------------
=> JSTL
-----------------------------
Junit
-----------------------------
=> Junit
-----------------------------
Groovy
-----------------------------
=> Groovy
-----------------------------
JDBC
-----------------------------
=> JDBC
-----------------------------
JAVA JOBS (powered by job-adviser.com)
-----------------------------
=> JAVA JOBS