Accessing multiple files from internal resources
I have a lot of files that are packaged into the jar, I'm using these for something like a data based approach (I guess). And now I'd like to easily move them outside the jar, so that it can be modified by others. What would the best approach be here?
My initial thought was that I use json formatted files in the jar that kind of show what files that are in directories, but this gets impractical with large amount of files/directories. I'm now thinking, should I use a zip file as an internal resource with all the relevant content, but this gets a bit hard to access when I want to modify this content. What's your opinion on how to proceed?
3 Replies
⌛
This post has been reserved for your question.
Hey @Thorinwasher! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
Just doing this worked. thanks @Thorinwasher
Post Closed
This post has been closed by <@270177852157067264> for the following reason:
Solved it myself