Programmer's Stack
Pages
Home
clickme.ai
ChannelJava
JQuery
Bootstrap Templates
Selenium
Kafka
GO
{{theTime}}
!doctype>
Search This Blog
Total Pageviews
Java ClassLoader Help:
How to Load xml file located in a jar file.
Eg: If xml exists in com/tools/util/resources/data.xml, use ClassLoader to load the xml as Stream.
InputStream in = ClassLoader.getResourceAsStream("com/tools/util/resources/data.xml")
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
ChatGPT - Claude - Gemini - Copilot
Assistant Core Strength Weaknesses Best For Key Specs ...
No comments:
Post a Comment