extension : Java Glossary



In windows, the characters after the dot in a filename give you a clue what the file contains: e.g. something.html contains HTML (Hypertext Markup Language), *.txt is simple text, *.exe is an executable, *.java is Java source. Each of these extension is associated with a MIME (Multipurpose Internet Mail Extensions) type which is a long winded way of saying the same thing. You can associate given extensions with certain apps so that when you double click a file the corresponding program that knows how to deal with that file type is automatically launched with that file.

File offers no built-in way to get the extension or the filename without extension. Here is how you do it:

associations project
file-extensions.org: database of file extensions and MIME types
fileinfo.com: database of file extensions
Filext.com: database of file extensions, MIME types and identifying signatures
making jar files executable
sharpened.net: database of file extensions

This page is posted
on the web at:


Optional Replicator mirror
of mindprod.com
on local hard disk J:

Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

Your face IP:[]
You are visitor number