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 Java 8 in Action this week in the Java 8 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: 24168
    
  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
Java run time argument
Problem compiling packages
Resource Bundle in Application Classpath
Error when running packaged code
what is diff in Spring's ClassPathResource and FileSystemResource class