AJAX Forums

how to find file path and infor mation of file using java program in local system.?

This is a discussion on how to find file path and infor mation of file using java program in local system.? within the JavaScript forums, part of the Beginners AJAX category; I want program with explanation . file size, path , data information....


Go Back   AJAX Forums > Beginners AJAX > JavaScript

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 05-20-2007, 11:11 PM   #1 (permalink)
Junior Member
 
Join Date: May 2007
Posts: 1
Rep Power: 0 rajeswa r is on a distinguished road
how to find file path and infor mation of file using java program in local system.?

I want program with explanation . file size, path , data information.
__________________
rajeswa r is offline   Reply With Quote
Old 05-21-2007, 01:21 AM   #2 (permalink)
Junior Member
 
Join Date: May 2007
Posts: 1
Rep Power: 0 minus71 is on a distinguished road
There is one class which provides most useful information about files:java.io.FileA java.io.File object can be constructed starting from a string representing its path.A directory is a file too, and from a directory you use get listFiles() to get an array of file objects,which you can query with getPath() to obtain the file path and various other functions to get data needed.
__________________
minus71 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
XML path in Flash file?? Jamie * XML and XSLT 0 10-27-2007 03:26 PM
I am trying to find a way to load an XML file into HTML in a table.? Zach F XML and XSLT 0 05-13-2007 09:18 AM
can i run my java program as *.exe file Arwind S JavaScript 2 05-05-2007 01:13 AM
how can i convert a .doc file to .xml file using Java? Kunal Shah XML and XSLT 0 04-20-2007 07:25 PM
where do i find and be able to download (id = daily xml file)? barbara b XML and XSLT 1 03-28-2007 11:14 AM


All times are GMT -4. The time now is 08:57 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com