Skip to main content

My App Path with BufferedOutputStream?

2 replies [Last post]
asahli
Offline
Joined: 2008-01-13

ladies & gents:

How can i use the path of my application with: BufferedOutputStream?

example:
BufferedOutputStream outStream = new BufferedOutputStream(new FileOutputStream(getClass().getResource(AppPath)));

thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
asahli
Offline
Joined: 2008-01-13

please, i need the answer asap

Rafael Santos

asahli wrote:
> please, i need the answer asap
>
The question was

> How can i use the path of my application with: BufferedOutputStream?
>
> example:
> BufferedOutputStream outStream = new BufferedOutputStream(new FileOutputStream(getClass().getResource(AppPath)));
>
> thanks
This really seems a question about contexts and servlets, not related to
ImageIO.
What exactly you want to do?

About the "I need the answer asap": please read
http://www.catb.org/~esr/faqs/smart-questions.html#urgent

Rafael -- perennial candidate for a Peace Nobel Prize, but won't say no
to a sainthood unless they ask me to die first.

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net