Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
how can i create a java program to view the contents of a dir?
thangam malathy sharmi
Greenhorn
Posts: 2
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
how can i create a
java
program to view the contents of a dir?
for example if i require like
[root]
[dir name ="xyz"]
[file]f1.doc[/file]
[file]f2.doc[/file]
[dir name="abc"]
[file]f3.doc[/file]
[/dir]
[/dir]
[/root]
regards
sharmi
Vijay Vaddem
Ranch Hand
Posts: 243
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Go through this
File
and then, use methods...
isDirectory
isFile
and list ...
Lets us know your progress .......
Cheers,
Vijay
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
create a war file
how to upload a image in particulart directory in web app. server
help with dos
URL to open file system breaks when there is # in it
Deploying WebApplication without WAR
More...