gpt4 book ai didi

com.adobe.xmp.XMPMeta.setLocalizedText()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-22 05:55:05 27 4
gpt4 key购买 nike

本文整理了Java中com.adobe.xmp.XMPMeta.setLocalizedText()方法的一些代码示例,展示了XMPMeta.setLocalizedText()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XMPMeta.setLocalizedText()方法的具体详情如下:
包路径:com.adobe.xmp.XMPMeta
类名称:XMPMeta
方法名:setLocalizedText

XMPMeta.setLocalizedText介绍

暂无

代码示例

代码示例来源:origin: apache/tika

/**
 * Creates a language alternative property in the x-default language
 *
 * @param tikaKey
 *            Key in the Tika metadata map
 * @param ns
 *            namespace the property should be created in
 * @param propertyName
 *            name of the property
 * @throws XMPException
 *             if the property could not be created
 */
protected void createLangAltProperty(String tikaKey, String ns, String propertyName)
    throws XMPException {
  String value = metadata.get( tikaKey );
  if (value != null && value.length() > 0) {
    meta.setLocalizedText( ns, propertyName, null, XMPConst.X_DEFAULT, value );
  }
}

代码示例来源:origin: org.apache.tika/tika-xmp

/**
 * Creates a language alternative property in the x-default language
 *
 * @param tikaKey
 *            Key in the Tika metadata map
 * @param ns
 *            namespace the property should be created in
 * @param propertyName
 *            name of the property
 * @throws XMPException
 *             if the property could not be created
 */
protected void createLangAltProperty(String tikaKey, String ns, String propertyName)
    throws XMPException {
  String value = metadata.get( tikaKey );
  if (value != null && value.length() > 0) {
    meta.setLocalizedText( ns, propertyName, null, XMPConst.X_DEFAULT, value );
  }
}

代码示例来源:origin: com.github.lafa.tikaNoExternal/tika-xmp

/**
 * Creates a language alternative property in the x-default language
 *
 * @param tikaKey
 *            Key in the Tika metadata map
 * @param ns
 *            namespace the property should be created in
 * @param propertyName
 *            name of the property
 * @throws XMPException
 *             if the property could not be created
 */
protected void createLangAltProperty(String tikaKey, String ns, String propertyName)
    throws XMPException {
  String value = metadata.get( tikaKey );
  if (value != null && value.length() > 0) {
    meta.setLocalizedText( ns, propertyName, null, XMPConst.X_DEFAULT, value );
  }
}

代码示例来源:origin: veraPDF/veraPDF-library

xmp.setLocalizedText(XMPConst.NS_DC, "rights", "", XMPConst.X_DEFAULT, dmValue,
    null);
  xmp.setLocalizedText (XMPConst.NS_DC, "rights", "", XMPConst.X_DEFAULT, 
    firstValue, null);
  xdIndex = XMPNodeUtils.lookupLanguageItem(dcRightsArray, XMPConst.X_DEFAULT);

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com