A
Alexandre Jaquet
Hi,
I'm trying to get a resource who is stored into a jar file. I've the
following path to the resource from the root of the jar
WUI-CDM-Module/oams-profiles/Default/module/cdm/pageflow/
clientrelationship/MyName2.module
I've tryed many ways :
InputStream inputStream =
Thread.currentThread().getContextClassLoader().getResourceAsStream("WUI-
CDM-Module/oams-profiles/Default/module/cdm/pageflow/
clientrelationship/MyName2.module");
ClassLoader loader = IncludeFigure.class.getClassLoader();
InputStream inputStream = loader.getResourceAsStream("WUI-CDM-Module/
oams-profiles/Default/module/cdm/pageflow/clientrelationship/
MyName2.module");
ClassLoader.getSystemResourceAsStream("WUI-CDM-Module/oams-profiles/
Default/module/cdm/pageflow/clientrelationship/MyName2.module");
but without success
anybody know the tricks ?
Thanks
Regards,
Alexandre
I'm trying to get a resource who is stored into a jar file. I've the
following path to the resource from the root of the jar
WUI-CDM-Module/oams-profiles/Default/module/cdm/pageflow/
clientrelationship/MyName2.module
I've tryed many ways :
InputStream inputStream =
Thread.currentThread().getContextClassLoader().getResourceAsStream("WUI-
CDM-Module/oams-profiles/Default/module/cdm/pageflow/
clientrelationship/MyName2.module");
ClassLoader loader = IncludeFigure.class.getClassLoader();
InputStream inputStream = loader.getResourceAsStream("WUI-CDM-Module/
oams-profiles/Default/module/cdm/pageflow/clientrelationship/
MyName2.module");
ClassLoader.getSystemResourceAsStream("WUI-CDM-Module/oams-profiles/
Default/module/cdm/pageflow/clientrelationship/MyName2.module");
but without success
anybody know the tricks ?
Thanks
Regards,
Alexandre