T
Todd
Hello,
I hope that I am not posting to an inappropriate group with these
questions. If I am and you have the name of another more appropriate
group, please let me know of that group and I will repost.
Anyway, I have developed a small Mercator projection class. I also
have data files with coastal data so that I can get a pretty little
map of the Earth.
What I want to do is include the coastal data files into the package
that I have my Earth class in, so that when I jar up the whole thing,
the data is included with the jar. Do I just create a folder within
my structure that holds the data files and then jar in the normal
manner? (BTW, I am using NetBeans).
Furthermore, I would like to be able to open and read the contents of
the data files within the package without having to know its path on
the disk. I would like to think that I can access a data file within
a package in a manner similar to accessing another class in the
package. If so, how do I do this?
I have played with this for several hours with no luck, so I
appreciate any help that you may have.
Todd
I hope that I am not posting to an inappropriate group with these
questions. If I am and you have the name of another more appropriate
group, please let me know of that group and I will repost.
Anyway, I have developed a small Mercator projection class. I also
have data files with coastal data so that I can get a pretty little
map of the Earth.
What I want to do is include the coastal data files into the package
that I have my Earth class in, so that when I jar up the whole thing,
the data is included with the jar. Do I just create a folder within
my structure that holds the data files and then jar in the normal
manner? (BTW, I am using NetBeans).
Furthermore, I would like to be able to open and read the contents of
the data files within the package without having to know its path on
the disk. I would like to think that I can access a data file within
a package in a manner similar to accessing another class in the
package. If so, how do I do this?
I have played with this for several hours with no luck, so I
appreciate any help that you may have.
Todd