aspose file tools*
The moose likes Beginning Java and the fly likes what is the meaning of classpath resource related to java io Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "what is the meaning of classpath resource related to java io" Watch "what is the meaning of classpath resource related to java io" New topic
Author

what is the meaning of classpath resource related to java io

ganesh pol
Ranch Hand

Joined: Apr 29, 2005
Posts: 151
what is the meaning of classpath resource related to java i/o
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

A "classpath resource" is a resource (a file) located somewhere on your classpath. You can read such a resource using the Class.getResource() method (and its relatives) without knowing the exact path.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is the meaning of classpath resource related to java io
 
Similar Threads
Resource Bundle in Application Classpath
Java run time argument
Error when running packaged code
Problem compiling packages
what is diff in Spring's ClassPathResource and FileSystemResource class