Open Execution file and parse it [message #100678] |
Sat, 09 June 2007 23:43 |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
Hi all,
I'm building a Rational Manual Tester exporter plugin.
But I need to open an execution file, get the content and build a PDF
with it.
Since the execution file is similar to a jar file, I'm using the JarFile
class to get it's content.
Well the problem is when I try to parse the ResourceContents file.
Since I'm opening and getting the information on demand I don't want to
create a file then use:
URI uri = URI.createFileURI(new File("ResourceContents").getAbsolutePath());
then
Resource resource = resourceSet.getResource(uri, true);
Is there either a better way to do it or to create a URI from an
InputStream?
Thanks in Advance!!
|
|
|
|
Powered by
FUDForum. Page generated in 0.03579 seconds