Partly depends on what you use the data files for, but in general, just create a package and make sure that it is on the path to the class. To load the properties file from the "data" package, add the file "MyData.props" and you can load the properties file, for example:
this.getClass().getClassLoader().getResourceAsStream("/data/MyData.props");
Again, itβs not entirely accurate whether this question will answer your question, since Iβm not 100% sure what you are trying to do, but I hope this helps a little.
Todd r
source share