extension : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

extension

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
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
MIME
sharpened.net: database of file extensions

This page is posted
on the web at:

http://mindprod.com/jgloss/extension.html

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

J:\mindprod\jgloss\extension.html
Canadian Mind Products
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.

IP:[65.110.21.43]
Your face IP:[54.198.54.142]
You are visitor number