if (utils.getFaxOptions().pclBug && fields[0].equalsIgnoreCase("pcl")) { if (fields[1].contains(".ps")) fields[0] = "ps"; else if (fields[1].contains(".pdf")) fields[0] = "pdf"; else if (fields[1].contains(".tif")) fields[0] = "tif"; }
    public List<HylaServerFile> getServerFilenames(HylaFAXClient hyfc) throws IOException, ServerResponseException {        String[] files = getJob(hyfc).getDocumentName().split("\n");        ArrayList<HylaServerFile> availFiles = new ArrayList<HylaServerFile>();                // The last entry is "End of Documents"!        for (int i = 0; i < files.length - 1; i++) {            String[] fields = files[i].split("\\s");            try {                hyfc.stat(fields[1]); // will throw FileNotFoundException if file doesn't exist                availFiles.add(new HylaServerFile(fields[1], fields[0]));            } catch (FileNotFoundException e) {                // do nothing                //System.err.println(e.toString());            }        }                return availFiles;    }