Hi John, I will do them. No problems. But one question: for (3) is there any other way other than reading the /usr/share/magic.mime file? I am curious whether there is a platform independent way which I am not aware of...
thanks -Hari > Ideally we need something that provides mapping among: > (1) filename extension > (2) mime type > (3) file magic number (unix 'file' command) > jaf only gives (1) -> (2) one way. > It will be really great if yours can do (3) too. > Thanks, > > John >
