wood burning stoves*
The moose likes I/O and Streams and the fly likes need help in parsing a file and sending the data to the database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "need help in parsing a file and sending the data to the database " Watch "need help in parsing a file and sending the data to the database " New topic
Author

need help in parsing a file and sending the data to the database

subin john Malikayil
Greenhorn

Joined: Mar 08, 2007
Posts: 7
hi i need help in parsing a file and sending the data to the database.

here i am putting the an example file.

file.

ChainOfComAuthors: CN=David
OtherReaders: CN=Mike
Standard_7:
Criteria_7:
Standard_8:
Criteria_8:
PositionNumber_Super: 47034
CL_Title_Super: Supervising Professional Engineer
cl_title: Engineer III
SaveOptions: 1
NewDoc: yes
FiscalYear: 2000-2001
Standard_1: Employee maintains a thorough.
Employee maintains and enhances technical Criteria_1: Employee's work product consistently.
Feedback from the employee's co-workers indicates that the employee is competent and displays a thorough knowledge of the District's rules.
Feedback from the regulated public indicates that the employee is competent and displays a thorough knowledge of the District's rules.
Attend a minimum of 1 technical training seminar or conference annually.
Standard_2: Employee demonstrates superior workload management and performance.
Criteria_2: Accurately complete work assignments within established timeframes.
90% of the Requests for Additional Information (RAI), Technical Staff Reports (TSR), and correspondence are accurate, well-written and require minimum corrections.
90% of the RAI, TSR, and correspondenc are transmitted/mailed within established timeframes
Enter all required data into GRS within assigned timeframes.
Employee maintains files and other relevant compliance/permit information in an organized and accessible location within the eimployee's office as determined by the employee's supervisor.
All legal timeframes are met 100% of the time.
Standard_3: Employee provides superior custormer service

Criteria_3: Feedback from the regulated public, general public, and co-workers indicates that the employee is professional, helpful and courteous.
Compliants, emergency situations and walk-ins are responded to immediately or within 24 hours of notification.

-------------

ChainOfComAuthors: , Standard_1....n:, Criteria_1.....n. are my key words.

i need to parse the file and send it to the appropriate colums in the database. (help me in getting into a java bean)

regards
Subin John
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Let's start small and work up. Are you comfortable writing a new class of your own? Reading a text file one line at a time? If you're further along, show us what you have.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
subin john Malikayil
Greenhorn

Joined: Mar 08, 2007
Posts: 7
yea, thats ok for me.

i wrote a class whic read the file line by line. thats working fine.
 
 
subject: need help in parsing a file and sending the data to the database
 
Similar Threads
Tech Lead/Team Lead interview
Network Engineer at Servion Global Solutions, in Chennai
Intermediate Java Developer - Vancouver BC
Senior. Net Developer, Dallas Texas
Senior Software Engineer - Java/C++ Perm - DTC - Englewood, CO