* @throws IOException thrown if analysis has problems with the input stream
*/
private ELanguageTypes findContentTypeInternal(InputStream content, String fileName) throws IOException {
IContentTypeManager contentTypeManager = Platform.getContentTypeManager();
IContentType contentType = contentTypeManager.findContentTypeFor(content, fileName);
ELanguageTypes matchedLanguageType = ELanguageTypes.Unknown;
if (contentType != null) {
matchedLanguageType = ELanguageTypes.getLanguageTypeFromContentType(contentType.getId());
}