My client gave me the following requirement. I am not able to understand what he means He says:
I'm looking for a Java application that sets a mime-type for the user's computer system.
The application would be a very simple app (probably a single .class file?), which when run, sets this mime-type for the user's computer system:
application/adlm
Thus, if I am using Firefox or IE, for example, I can just check for the presence of the "application/adlm" mime-type. If present, your application worked.
Please provide some javascript or PHP that can be used to detect the present of a custom mime-type like this.
Please use the latest version of Java. I will test your application from the Windows command line. Please do not make it Windows-specific, though... it would be ideal if I could use your application on a Macintosh system, too.
Please note that I'm looking for a desktop java application, NOT a .jsp file (i.e., this needs to run from the Windows desktop, not on a web server)