C
Chanchal
Hi All,
How can I write to a file in class path? I do not have a physical
path.
I know that a file in class path can be read as
InputStream resourceAsStream = getClass().getResourceAsStream("/
mypackage/mysubpackage/myfile.txt");
Is there any such way to write to a file in class path and which is
inside a package?
Thanks in advance
Chanchal
How can I write to a file in class path? I do not have a physical
path.
I know that a file in class path can be read as
InputStream resourceAsStream = getClass().getResourceAsStream("/
mypackage/mysubpackage/myfile.txt");
Is there any such way to write to a file in class path and which is
inside a package?
Thanks in advance
Chanchal