开发者

extracting icons from files/folders java

开发者 https://www.devze.com 2023-03-30 15:50 出处:网络
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

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), or
  • InputStream Class#getResourceAsStream(String).

For an example, check out How to Use Icons.

0

精彩评论

暂无评论...
验证码 换一张
取 消