code: public String getProperty(String key,String defaultValue)
      {
          String value=null;
          try
          {
              value=this.JOB.getProperty(key);
          }
          catch(Exception exception)
          {
              throw new FaxException("Error while extracting job property.",exception);
          }
          
          if(value==null)
          {
              value=defaultValue;
          }
          
          return value;
      }
docs: This function returns the fax job property for the
  given key.
  
  @param   key
  The property key
  @param   defaultValue
  The default value
  @return  The property value