Hello Guest

get file object from input stream

  • 3 Replies
  • 8066 Views
*

Offline tlf30

  • **
  • 73
get file object from input stream
« on: December 10, 2011, 02:08:59 »
I'm making an installer and need to get the java File object from an InputStream.

Re: get file object from input stream
« Reply #1 on: December 12, 2011, 13:28:46 »
FileInputStream? ClassLoader.getResourceAsStream? ObjectInputStream?

This is more of standard java question; you'll find lots of preexisting feedback on StackOverflow.

*

Offline tlf30

  • **
  • 73
Re: get file object from input stream
« Reply #2 on: December 12, 2011, 22:40:29 »
Im using an getResourcrAsStream. I have googled it but could not find anything.

*

Offline tlf30

  • **
  • 73
Re: get file object from input stream
« Reply #3 on: December 20, 2011, 01:40:35 »
I discoverd ZipInputStream, it solved by problem.