Inputstream...help me...

G

gbattine

Hi guys,
i've a question for you.
My Jsf Application allow user to upload a txt file thanks to a Myfaces
component.
I want manipulate later this file and i know that exist getInputStream
function that allow it.
My question is that i have to add to my application a java class that
does some operations on the file that i have uploaded.
The matter is that my application load a file in a bufferedReader with

BufferedReader br = new BufferedReader(file);


How can i put the inputstream of my uploaded file in the bufferedReader

to reuse my java application?
Please help me,i'm a newbie..excuse me for my english
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top