TypeDefinition td = session.getTypeDefinition(typeId);
if (null == td)
throw new MapperException("CMIS type " + typeId + " does not exist on server.");
LOG.info("Detected MIME type: "+ mimeType + " is mapped to CMIS type id: " + td.getId());
parser.extractMetadata(f, td);
properties = parser.getCmisProperties();
}
// check if there is an overridden content type configured
int posLastDot = f.getName().indexOf('.');