if (type.equalsIgnoreCase("tif"))
if (type.equalsIgnoreCase("tif") || type.equalsIgnoreCase("tiff"))
    public void view(HylaFAXClient hyfc, FaxOptions opts)        throws IOException, FileNotFoundException, ServerResponseException, UnknownFormatException {                File tmptif = File.createTempFile("fax", "." + type);        tmptif.deleteOnExit();                download(hyfc, tmptif);                        String execCmd;        if (type.equalsIgnoreCase("tif"))             execCmd = opts.faxViewer;        else if (type.equalsIgnoreCase("ps") || type.equalsIgnoreCase("pdf"))            execCmd = opts.psViewer;        else            throw new UnknownFormatException(MessageFormat.format(utils._("File format {0} not supported."), type));                if (execCmd.indexOf("%s") >= 0)            execCmd = execCmd.replace("%s", tmptif.getPath());        else            execCmd += " " + tmptif.getPath();                Runtime.getRuntime().exec(execCmd);    }