| Author |
reading files in specified directory
|
Ravindra Suroju
Greenhorn
Joined: Mar 11, 2008
Posts: 14
|
|
|
How can i read the files in specified directory?
|
Best Regards,<br />Ravindra.
|
 |
Anubhav Anand
Ranch Hand
Joined: May 18, 2007
Posts: 341
|
|
Ravindra Kumar S, Welcome to JavaRanch. For reading files from a directory you require to use InputStream classes. You may use DataInputStream and/or FileInputStream and/or BufferedInputStream. Also, you may like to view this tutorial. This may also be useful.
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32599
|
|
|
More useful tutorial from Sun here. Look for the link to file I/O especially.
|
 |
 |
|
|
subject: reading files in specified directory
|
|
|