Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is the meaning of classpath resource related to java io

 
ganesh pol
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the meaning of classpath resource related to java i/o
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic