|
|
-
Re: Reading files from a directoryMohit Anchlia 2012-11-13, 02:00
I was actually looking for an example to do it in the java code. But I
think I've found a way to do it by iterating over all the files using globStatus() method. On Mon, Nov 12, 2012 at 5:50 PM, yinghua hu <[EMAIL PROTECTED]> wrote: > Hi, Mohit > > You can input everything in a directory. See the step 12 in this link. > > http://raseshmori.wordpress.com/ > > > On Mon, Nov 12, 2012 at 5:40 PM, Mohit Anchlia <[EMAIL PROTECTED]>wrote: > >> Using Java dfs api is it possible to read all the files in a directory? >> Or do I need to list all the files in the directory and then read it? > > > > > -- > Regards, > > Yinghua > |