api - Opening file from Java -


I need to give instructions to the OS to open the file with the default program used for that file type. In fact, that is, that file was double clicked by the user under Windows.

The purpose is, that is, "Your PDF file was generated. Click here to open it".

Platform-independent, if possible ...

I do not know the exact words for what I want, so if a tag can update I would appreciate it most;)

You need class and especially the method.

Launches the associated application to open the file. If the specified file is a directory, then the file manager of the existing platform is launched to open it.


Comments

Popular posts from this blog

asp.net - Change the driver in the connection string to a data source in VB.Net -

Getting started consuming web services in a Ruby on Rails 3 application -

objective c - iPhone and it's wireless area -