aspose file tools*
The moose likes Beginning Java and the fly likes Use of File Class... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Use of File Class..." Watch "Use of File Class..." New topic
Author

Use of File Class...

priya gupta
Greenhorn

Joined: Apr 04, 2008
Posts: 4
Can anyone here please tell me the use of File class in java..??
Anubhav Anand
Ranch Hand

Joined: May 18, 2007
Posts: 341

Priya... ,
Welcome to JavaRanch!

We're pleased to have you here with us , but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policyand adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.


To know about any of the Java classes Sun's api docs is good place to start with. You can visit this file api doc link for more details.
[ April 04, 2008: Message edited by: Anubhav Anand ]
camilo lopes
Ranch Hand

Joined: Aug 08, 2007
Posts: 202


or




Brazil - Sun Certified Java Programmer - SCJP 5
http://www.camilolopes.com/ About Java - Update every Week.
Guide SCJP - tips that you need know http://blog.camilolopes.com.br/livrosrevistaspalestras/
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

That's one use of File, a simple one. In general, java.io.File represents a path on a file system. It includes methods to check if there's a real file corresponding to the path, to delete the file at that path, and to query various properties of a file at that path (like whether it's a directory or not.)


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Use of File Class...
 
Similar Threads
How can you get the path name from a file name
File Upload
accessing properties file
mkdir and mkdirs
Imageicon URL