• Post Reply Bookmark Topic Watch Topic
  • New Topic

filter the directories  RSS feed

 
wip siva
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi buddies
i have a directory called log.under this i have many subdirectories like
25-07-1997
26-07-1997
27-07-1997
28-07-1997
if i select log from JList

i want to filter and display startdate 25-07-1997
to enddate 28-07-1997
how to do it in java
plz with some code
 
Peter Tran
Bartender
Posts: 783
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wip,
You'll have to do this with code. Once you get a list of the file name, then filter it using standard String manipulation routines.
-Peter
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!