What makes you thing there's something wrong with it ? Does it not compile (show us the error messages) or does it not do what you expected (tell us what it does do and how this differs from what you expected).
1) Class names should begin with a capital (Test not test) 2) Instance variables should be non capitalized (directory not Directory, path not Path) 2) You have provided no comments 3) directory.getDirectoryList("/" + args); <== corrected 4) File tempFile = new File(path + "/" + dirContents[i]); <== corrected
You were very close.
Joined: Mar 11, 2008
Thanks so much Bob...
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com