extension : Java Glossary

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) 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

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/extension.html J:\mindprod\jgloss\extension.html
logofeedback Please email your feedback for publication, letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email If you want your message kept confidential, not considered for posting, please explicitly specify that.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.210]
You are visitor number 11,252.