I am trying to extract icons images fr开发者_运维技巧om specific files or directory using Java. I have looked around the internet but haven't found a reasonable answer to this question. Are there any libraries which would help me achieve this?
thanks, TC
Can this help ?
http://www.rgagnon.com/javadetails/java-0439.html
It's pretty simple actually, you just need to use:
URL Class#getResource(String)
, orInputStream Class#getResourceAsStream(String)
.
For an example, check out How to Use Icons.
精彩评论