File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

filenameFilter in linux directory

 
nur rahayu
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i've a problem related with filenameFilter. My code is:


I'm little confusing; no syntax-error, but when i execute, my app always show pop-up "Sorry, no answer" although there's a directory listed (home/nnur/compareN). Please help me, thanks...
 
Tom Reilly
Rancher
Posts: 618
  • 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A guess - you specify a relative path. Don't you want an absolute path (one that starts with a '/')?
 
nur rahayu
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Tom Reilly!
I've never noticed about the absolute/relative path. But unfortunately, the new problem is coming. Let me try to solve it first by myself.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic