Just to be clear, I'm not looking for the MIME type.
Let's say i have the input: "/path/to/file/foo.txt"
I'd like a way to break this input up, specifically into ".txt" for the extension. Is there any built in ways to do this in Java? I'm still new and would like to avoid writing my own parser... :)
Thanks!