protected String createProcessCommand(Enum<?> templateNameEnum,FaxJob faxJob)
    {
        //get template name
        String templateName=templateNameEnum.toString();

        //get template
        String template=this.getTemplate(templateName);
        String command=null;
        if(template!=null)
        {
            //format template
            command=this.formatTemplate(template,faxJob);
        }

        return command;
    }
protected String createProcessCommand ( Enum < ? > templateNameEnum , FaxJob faxJob ) { String templateName = templateNameEnum . toString ( ) ; String template = this . getTemplate ( templateName ) ; String command = null ; if ( template != null ) { command = this . formatTemplate ( template , faxJob ) ; } return command ; }
Creates the process command from the fax job data.

@param   templateNameEnum
The template name
@param   faxJob
The fax job object
@return  The process command to execute