/** * Find an "omero.launcher..." property string for the given mimetype or * return "" if none is found. */ public String getLauncher(String mimetype) { Map.Entry<String, ScriptFileType> entry = findByMimetype(mimetype); if (entry == null) { log.warn("No mimetype equals to {}", mimetype); return ""; } return entry.getValue().getLauncher(); }
/** * Find an "omero.process..." property string for the given mimetype or * return "" if none is found. */ public String getProcess(String mimetype) { Map.Entry<String, ScriptFileType> entry = findByMimetype(mimetype); if (entry == null) { log.warn("No mimetype equals to {}", mimetype); return ""; } return entry.getValue().getProcess(); }