Frank Kofoed Myhre
Question about "Insert text file data into Database"
1 Answer(s)      3 years and 2 months ago
Posted in : Java Beginners

Hey

I was reading the tutorial "Insert text file data into Database", (awesome btw), and noticed that both a FileInputStream, a DataInputStream and a BufferedReader.

Is it really necessary with all these 3?

Regards Frank

Advertisement
View Answers

February 23, 2012 at 5:10 PM


No, it is not necessary, you can use any of stream.










Related Tutorials/Questions & Answers:
Question about "Insert text file data into Database"
Question about "Insert text file data into Database"  Hey I was reading the tutorial "Insert text file data into Database", (awesome btw), and noticed that both a FileInputStream, a DataInputStream and a BufferedReader
Insert text file data into Database
Insert text file data into Database In this section, you will learn how to insert the text file data into the database. For this purpose, we have created a 'student.txt' file consisting of students information i.e, id, name, course
Advertisements
Question about a flex...
Question about a flex...  Is there good Future for Adobe flex
question about applet
question about applet  how to run java applet on wed browser   Hi Friend, Please visit the following link: Applet Tutorials Thanks
question about database
question about database  sir i have made a drop down button using html..now i want to retrieve values from database so that they my appear in my drop... their values from database so that they appear in drop down i have made
question about mixing two strings
question about mixing two strings  using java script we need to ask two strig and combine them like.. str1= helo str2= worl combined string= hweolrol
Question about JSP - JSP-Servlet
Question about JSP  Please tell me how to retrieve an image from SQL Server 2000 using JSP code.I know how to store the image as it stores in binary format. But i don't know hoe to retrieve
question about t vs h tag - Framework
question about t vs h tag  Hi, I use JSF with t,f,h tags in my webapp and i have a question. I use 2 differents pages .jsf The first page contain only tomahawk tags like : ....other tag tomahawks with call method X
Question about parsing XML document with DOM in JAVA.
Question about parsing XML document with DOM in JAVA.  Hi, I need to parse a XML file witch has info about classes. So i have for each class to have its methods and for each method to get its parameters. I'm trying to do
please help me to solve this question about array
please help me to solve this question about array  write a program thatt stores vowels (a,e,i,o and u)in an array. Ask the user to enter any character. The program should ignore the case of that character (uppercase or lowercase
Javascript Question about converting Celcius to Fahrenheit
Javascript Question about converting Celcius to Fahrenheit  How...="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Celcius To Farenheit</title> <script type="text/javascript"> //function temp
please help me to answers this question about C++.....huuhuhuhu
please help me to answers this question about C++.....huuhuhuhu  1... , N = 10000, N = 100000 etc) d) Have access to a file (to store your running... memory allocation stores it's data in the "data segment" of the memory
please help me to answers this question about C++.....huuhuhuhu
please help me to answers this question about C++.....huuhuhuhu  1... , N = 10000, N = 100000 etc) d) Have access to a file (to store your running... memory allocation stores it's data in the "data segment" of the memory
question
question   sir plz tell me what should i give in title box. just i want java program for the question typed in this area
question
question   sir plz tell me what should i give in title box. just i want java program for the question typed in this area
Question
Question   When there is an exception in my program how java runtime system handles
question
question  dear sir/madam my question is how to compare two text format in java..we are java beginners..so we need the complete source code for above mentioned question...we have to compare each and every word
question
question  Dear sir i had some typing mistake at previous question so its my humble request to let me know the steps to start the tomcat6 under the tomcat directory
Question?
Question?  My question is how to: Add a menu bar to the program with a File menu. In the File menu, add a submenu (JMenuItem) called About. When the user clicks on the About menu item, display a JOptionPane message dialog
question
question  Sir, How to stream video on one computer which is playing on another PC in LAN using java + socket / RMI . if you have any idea about that please help me and give the source code
question
question  do you have any idea about the following concept,give me Java code for A COMPARATIVE STUDY ON PERSONALIZATION IN INFORMATION RETRIEVAL WITH SHARING OF THE CONCEPT BASED USER PROFILES using Java
question
question  Good morning sir, i need a jsp and mysql code to track attendance immediately,and if you have any idea about how to take absentees please send me that too
question
question  Good Afternoon Sir, could you please tell me about what is real process happened in "A DISTRIBUTED PROTOCOL TO SERVE DYNAMIC GROUPS FOR PEER-TO-PEER STREAMING" what is actually happened in this ,please help me
question
question  if you have any idea about automatic updation in mysql + jsp.i wrote a code for retrieving attendance.but i don't know how to display absentees.for example,assume that one employee is forgot to mark attendance
question
question  Gud morning sir, I have asked u some question regarding...="text" size="20" name="name"></td></tr> <tr><td>Registration:</td><td><input type="text" size="20" name="reg"><
about a program
about a program  hi can anyone suggest program for this question.. it wil really be helpful.its based on *servlet programming* 1. First page should display a dropdown of mathematical operation (Add, Subtract, Multiply, Divide
jsp question?
jsp question?  see you all know about including file in a jsp... i... given code Long something = 0; in one.jsp code is <%@include file='two.jsp'%> <%@include file='two.jsp'%> i have included same file two times.... so
Question on pooling
Question on pooling  which server supports pooling?Application server or web server
About struts
About struts  How will we configure the struts
question for c++
question for c++   write Program to swap between two numbers if first number is greater than second number and total of two numbers greater than 10
C# question
Create a Solution by name Bank with Classes Account.cs, SavingsAccount.cs and savingsTest.cs to Demonstrate Abstract Classes in C#  1st question : Create a Solution by name Bank with Classes Account.cs, SavingsAccount.cs