JFile SourceForge.net Logo

JFile - Java File Identification Utility

Project Links

Project Page
mnartists.org
McKnight Foundation
Walker Art Center

About this Project

This is the homepage of the JFile project, a set of java classes to provide accurate, fast, platform independent discovery of file types. The primary purpose is as a library for web programmers supporting file uploads, although it can be used from the command line as a file(1) replacement. It is ported from the UNIX file(1) utility written by Ian F. Darwin, and uses the same magic file format. Since it was ported as quickly as possible from the C file(1) utility, it is not yet complete and has some ugly hacks, however it should work for most purposes. This version was written by Chris McKinley (lamfada at lugh dot net) for mnartists.org, a project of The McKnight Foundation and the Walker Art Center. This project is made available under a BSD style license similar to the original license of the file(1) utility.