Skip to main content

Posts

Showing posts from November, 2015

resource file path in JAR file

See the thing is, a jar is a single file (kind of like a zip file) holding lots of files together. From Os's pov, its a single file and if you want to access a  part of the file (your image file) you must use it as a stream. Reference: http://stackoverflow.com/questions/18055189/why-my-uri-is-not-hierarchical