On Wed, Mar 23, 2005 at 10:36:12PM -0800, Hari Kodungallur wrote: > 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...
Maybe have it searched/loaded from standard places, including nutch's conf dir? John > > 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 > > > __________________________________________ http://www.neasys.com - A Good Place to Be Come to visit us today!
