You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Seem <si...@gmx.de> on 2008/12/11 22:40:03 UTC

Re: Accessing a file in AAR

I have the same problem.
Do I understand you right, that you pointed out a solution in this kind of
manner:

Should I use the getResourceAsStream() to get the file, create a temporary
file from the inputstream, get the file path und use it with my 3rd party
methods?




sowmi wrote:
> 
> Since I did not hear anything, I had to get around the issue by creating
> the file in the "java.io.tmpdir" & pass the file path to 3rd party
> classes. Just in case somebody needs to know what I did.
> 

-- 
View this message in context: http://www.nabble.com/Accessing-a-file-in-AAR-tp16787898p20964762.html
Sent from the Axis - User mailing list archive at Nabble.com.


Re: Accessing a file in AAR

Posted by Deepal jayasinghe <de...@gmail.com>.
Seem wrote:
> I have the same problem.
> Do I understand you right, that you pointed out a solution in this kind of
> manner:
>
> Should I use the getResourceAsStream() to get the file, create a temporary
> file from the inputstream, get the file path und use it with my 3rd party
> methods?
>   
Once you call getResourceAsStream , what you get is an input stream, and
I am not sure whether it creates a temporally file for that. But one
thing I can not understand is why do you want to access the file, if you
have the input stream you can do whatever you want with that.

Deepal 
>
>
>
> sowmi wrote:
>   
>> Since I did not hear anything, I had to get around the issue by creating
>> the file in the "java.io.tmpdir" & pass the file path to 3rd party
>> classes. Just in case somebody needs to know what I did.
>>
>>     
>
>   


-- 
Thank you!


http://blogs.deepal.org