private void addLicense(Paragraph p,Eml eml) throws DocumentException {
  String licenseTitle=eml.parseLicenseTitle();
  String licenseUrl=eml.parseLicenseUrl();
  if (!Strings.isNullOrEmpty(licenseTitle) && !Strings.isNullOrEmpty(licenseUrl)) {
    p.add(new Phrase(getText("rtf.license") + ": ",fontTitle));
    Anchor licenseLink=new Anchor(eml.parseLicenseTitle(),fontLink);
    licenseLink.setReference(eml.parseLicenseUrl());
    p.add(licenseLink);
    p.add(Chunk.NEWLINE);
  }
}

private void addLicense ( Paragraph p , Eml eml ) throws DocumentException { String licenseTitle = eml . parseLicenseTitle ( ) ; String licenseUrl = eml . parseLicenseUrl ( ) ; if ( ! Strings . isNullOrEmpty ( licenseTitle ) && ! Strings . isNullOrEmpty ( licenseUrl ) ) { p . add ( new Phrase ( getText ( "rtf.license" ) + ": " , fontTitle ) ) ; Anchor licenseLink = new Anchor ( eml . parseLicenseTitle ( ) , fontLink ) ; licenseLink . setReference ( eml . parseLicenseUrl ( ) ) ; p . add ( licenseLink ) ; p . add ( Chunk . NEWLINE ) ; } }
add license to a paragraph , where title of license links out to license text . e . g . " licences of use : public domain ( cc0 1 . 0 ) "
