Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » File Redirection on the IDE
File Redirection on the IDE [message #180261] Wed, 15 November 2006 05:40 Go to next message
Eclipse UserFriend
Originally posted by: i_am_behrang.yahoo.com

Hi,

How can I redirect an input file into my java program. on the command
line I simply use "<". How should I do that on the IDE. I tried passing
it as a argument but it didn't work.
Re: File Redirection on the IDE [message #180439 is a reply to message #180261] Wed, 15 November 2006 20:17 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse4.rizzoweb.com

behrang wrote:
> Hi,
>
> How can I redirect an input file into my java program. on the command
> line I simply use "<". How should I do that on the IDE. I tried
> passing it as a argument but it didn't work.
>

File piping and redirection are operating system functions, not Java
functions.
You can code your program to accept the input file name as an argument
and read the specified file directly.

Hope this helps,
Eric
Previous Topic:cannot save in eclipse web tools
Next Topic:Look and feel for Rich Client Platform Applications
Goto Forum:
  


Current Time: Thu Apr 25 05:54:01 GMT 2024

Powered by FUDForum. Page generated in 0.08961 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top