Custom file searching in java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dmjpro
    Top Contributor
    • Jan 2007
    • 2476

    #1

    Custom file searching in java

    if i write in DOS -----> dir m* then all files and directories under the current directory starts with m ll be listed..

    is there any facility in java to get such a result ..........????? ??


    plzzzz help me outttt ..... thanxxxxx in advance
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by dmjpro
    if i write in DOS -----> dir m* then all files and directories under the current directory starts with m ll be listed..

    is there any facility in java to get such a result ..........????? ??


    plzzzz help me outttt ..... thanxxxxx in advance
    Read my reply to one of your other threads and use a simple FileFilter for one
    of the File.listFiles( ) methods.

    kind regards,

    Jos

    Comment

    • dmjpro
      Top Contributor
      • Jan 2007
      • 2476

      #3
      didn't u see ur PM?????

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        Originally posted by dmjpro
        didn't u see ur PM?????
        Nope; I didn't read my PM box messages yet. I'll do that in a second.

        kind regards,

        Jos

        Comment

        Working...