on 09-11-2008 10:45 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.