Re: io: how many imgs in 'images' folder?
- From: Eric Sosman <Eric.Sosman@xxxxxxx>
- Date: Fri, 30 Mar 2007 10:50:26 -0400
Nigel Wade wrote On 03/30/07 09:45,:
Eric Sosman wrote:
maya wrote On 03/29/07 13:55,:
is it possible to determine how many files are in a given directory..
Use the list() or listFiles() methods of a File object
representing the directory.
Also note that list() and listFiles() are overloaded methods. List() can be
passed a FilenameFilter and listFiles() a FileFilter so you can chose which
files are returned by the methods.
That's why I wrote "list() or listFiles() methods"
instead of "list() or listFiles() method."
--
Eric.Sosman@xxxxxxx
.
- Follow-Ups:
- Re: io: how many imgs in 'images' folder?
- From: Nigel Wade
- Re: io: how many imgs in 'images' folder?
- References:
- io: how many imgs in 'images' folder?
- From: maya
- Re: io: how many imgs in 'images' folder?
- From: Eric Sosman
- Re: io: how many imgs in 'images' folder?
- From: Nigel Wade
- io: how many imgs in 'images' folder?
- Prev by Date: Re: io: how many imgs in 'images' folder?
- Next by Date: Re: io: how many imgs in 'images' folder?
- Previous by thread: Re: io: how many imgs in 'images' folder?
- Next by thread: Re: io: how many imgs in 'images' folder?
- Index(es):
Relevant Pages
|
|