cancel
Showing results for 
Search instead for 
Did you mean: 

Use Input from any File

Former Member
0 Kudos

Hi All,

I have java class which I run from command prompt.

I have to send the input of the program from file means user dont have to enter at command prompt.

how can I do it?

Regards,

Prashant Joshi

Edited by: prashant joshi on Sep 11, 2008 11:45 AM

Accepted Solutions (1)

Accepted Solutions (1)

aasavaribhave
Advisor
Advisor
0 Kudos

Hi,

This is a java specific question and this forum is targeted for BOE java SDK questions only so it is not the right forum for this question.

But to still answer your question, You can use Java File File\IO calls, to open a file and read the input data from it and process it within the java code. This way user won't have to supply any input parameters. For further help on how to use Java File handling, there is a lot of help available at different sites. Google can help you find stuff of "java File handling".

Thanks

Aasavari

Answers (0)