A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Read text file through oracle procedure
Joined: Feb 04, 2009
Sep 03, 2009 03:09:12
I have to create procedure for read the text file.
How can i do this.
I created in
coding like this
i have to create oracle procedure.
BufferedReader in = null;
in = new BufferedReader(new InputStreamReader(new FileInputStream(fileName)));
String readIn = in.readLine();
Num = readIn.substring(5,10);
readIn = in.readLine();
Joined: Nov 24, 2005
Sep 03, 2009 18:30:27
may help you reading/writing files.
All roads lead to JavaRanch
I agree. Here's the link:
subject: Read text file through oracle procedure
Java: Convert a binary file to "text" and back again.
How to append text to the end of a text file?
getting text to appear in the JOptionPane function
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014