Hey everyone,

I'm not very new to Java but I have a very simple question about the Properties class: is it possible to retrieve a key-name using a value?

I'm working on a piece of coursework and we've been asked to load MIME-types from a provided file (using Properties.load(file);). However, the file lists MIME-types on the left (as key-names) and file extensions on the right (as values).

Because I need to retrieve the MIME-type using a known file extension, can anyone tell me a way to do this?