manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1630843 - in /manifoldcf/branches/dev_1x: ./ connectors/forcedmetadata/connector/src/main/java/org/apache/manifoldcf/agents/transformation/forcedmetadata/ connectors/forcedmetadata/connector/src/main/native2ascii/org/apache/manifoldcf/agen...
Date Fri, 10 Oct 2014 12:55:44 GMT
Author: kwright
Date: Fri Oct 10 12:55:44 2014
New Revision: 1630843

URL: http://svn.apache.org/r1630843
Log:
Part of CONNECTORS-1066.  Add empty metadata value filtering to Metadata Adjuster transformer.
 Pulled up from trunk.

Modified:
    manifoldcf/branches/dev_1x/   (props changed)
    manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/java/org/apache/manifoldcf/agents/transformation/forcedmetadata/ForcedMetadataConnector.java
    manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/forcedmetadata/common_en_US.properties
    manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/forcedmetadata/common_ja_JP.properties
    manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/forcedmetadata/common_zh_CN.properties
    manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/forcedmetadata/editSpecification_FieldMapping.html
    manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/forcedmetadata/viewSpecification.html

Propchange: manifoldcf/branches/dev_1x/
------------------------------------------------------------------------------
  Merged /manifoldcf/trunk:r1630812

Modified: manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/java/org/apache/manifoldcf/agents/transformation/forcedmetadata/ForcedMetadataConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/java/org/apache/manifoldcf/agents/transformation/forcedmetadata/ForcedMetadataConnector.java?rev=1630843&r1=1630842&r2=1630843&view=diff
==============================================================================
--- manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/java/org/apache/manifoldcf/agents/transformation/forcedmetadata/ForcedMetadataConnector.java
(original)
+++ manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/java/org/apache/manifoldcf/agents/transformation/forcedmetadata/ForcedMetadataConnector.java
Fri Oct 10 12:55:44 2014
@@ -38,6 +38,7 @@ public class ForcedMetadataConnector ext
   public static final String ATTRIBUTE_PARAMETER = "parameter";
   public static final String NODE_FIELDMAP = "fieldmap";
   public static final String NODE_KEEPMETADATA = "keepAllMetadata";
+  public static final String NODE_FILTEREMPTY = "filterEmpty";
   public static final String ATTRIBUTE_SOURCE = "source";
   public static final String ATTRIBUTE_TARGET = "target";
   public static final String ATTRIBUTE_VALUE = "value";
@@ -98,27 +99,16 @@ public class ForcedMetadataConnector ext
     while (fields.hasNext())
     {
       String field = fields.next();
-      Object[] fieldData = document.getField(field);
       String target = sp.getMapping(field);
       if (target != null)
       {
-        if (fieldData instanceof Date[])
-          docCopy.addField(target,(Date[])fieldData);
-        else if (fieldData instanceof Reader[])
-          docCopy.addField(target,(Reader[])fieldData);
-        else if (fieldData instanceof String[])
-          docCopy.addField(target,(String[])fieldData);
+        moveData(docCopy,target,document,field,sp.filterEmpty());
       }
       else
       {
         if (sp.keepAllMetadata())
         {
-          if (fieldData instanceof Date[])
-            docCopy.addField(field,(Date[])fieldData);
-          else if (fieldData instanceof Reader[])
-            docCopy.addField(field,(Reader[])fieldData);
-          else if (fieldData instanceof String[])
-            docCopy.addField(field,(String[])fieldData);
+          moveData(docCopy,field,document,field,sp.filterEmpty());
         }
       }
     }
@@ -135,6 +125,76 @@ public class ForcedMetadataConnector ext
     return activities.sendDocument(documentURI,docCopy);
   }
 
+  protected static void moveData(RepositoryDocument docCopy, String target, RepositoryDocument
document, String field, boolean filterEmpty)
+    throws ManifoldCFException, IOException
+  {
+    Object[] fieldData = document.getField(field);
+    if (fieldData instanceof Date[])
+      docCopy.addField(target,(Date[])conditionallyRemoveNulls(fieldData,filterEmpty));
+    else if (fieldData instanceof Reader[])
+    {
+      // To strip out empty fields, we will need to convert readers to strings
+      if (filterEmpty)
+        docCopy.addField(target,removeEmpties(document.getFieldAsStrings(field)));
+      else
+        docCopy.addField(target,(Reader[])fieldData);
+    }
+    else if (fieldData instanceof String[])
+    {
+      String[] processedFieldData;
+      if (filterEmpty)
+        processedFieldData = removeEmpties((String[])fieldData);
+      else
+        processedFieldData = (String[])fieldData;
+      docCopy.addField(target,processedFieldData);
+    }
+  }
+
+  protected static String[] removeEmpties(String[] input)
+  {
+    int count = 0;
+    for (String s : input)
+    {
+      if (s != null && s.length() > 0)
+        count++;
+    }
+    if (count == input.length)
+      return input;
+    
+    String[] rval = new String[count];
+    count = 0;
+    for (String s : input)
+    {
+      if (s != null && s.length() > 0)
+        rval[count++] = s;
+    }
+    return rval;
+
+  }
+  
+  protected static Object[] conditionallyRemoveNulls(Object[] input, boolean filterEmpty)
+  {
+    if (!filterEmpty)
+      return input;
+    int count = 0;
+    for (Object o : input)
+    {
+      if (o != null)
+        count++;
+    }
+    if (count == input.length)
+      return input;
+    
+    Object[] rval = new Object[count];
+    count = 0;
+    for (Object o : input)
+    {
+      if (o != null)
+        rval[count++] = o;
+    }
+    return rval;
+  }
+  
   // UI support methods.
   //
   // These support methods come in two varieties.  The first bunch (inherited from IConnector)
is involved in setting up connection configuration information.
@@ -323,18 +383,52 @@ public class ForcedMetadataConnector ext
         node.setAttribute(ATTRIBUTE_TARGET,target);
         os.addChild(os.getChildCount(),node);
       }
-      
-      // Gather the keep all metadata parameter to be the last one
-      SpecificationNode node = new SpecificationNode(NODE_KEEPMETADATA);
+    }
+    
+    x = variableContext.getParameter(seqPrefix+"keepallmetadata_present");
+    if (x != null && x.length() > 0)
+    {
       String keepAll = variableContext.getParameter(seqPrefix+"keepallmetadata");
-      if (keepAll != null)
+      if (keepAll == null)
+        keepAll = "false";
+      // About to gather the fieldmapping nodes, so get rid of the old ones.
+      int i = 0;
+      while (i < os.getChildCount())
       {
-        node.setAttribute(ATTRIBUTE_VALUE, keepAll);
+        SpecificationNode node = os.getChild(i);
+        if (node.getType().equals(NODE_KEEPMETADATA))
+          os.removeChild(i);
+        else
+          i++;
       }
-      else
+
+      // Gather the keep all metadata parameter to be the last one
+      SpecificationNode node = new SpecificationNode(NODE_KEEPMETADATA);
+      node.setAttribute(ATTRIBUTE_VALUE, keepAll);
+      // Add the new keepallmetadata config parameter 
+      os.addChild(os.getChildCount(), node);
+    }
+
+    x = variableContext.getParameter(seqPrefix+"filterempty_present");
+    if (x != null && x.length() > 0)
+    {
+      String filterEmpty = variableContext.getParameter(seqPrefix+"filterempty");
+      if (filterEmpty == null)
+        filterEmpty = "false";
+      // About to gather the fieldmapping nodes, so get rid of the old ones.
+      int i = 0;
+      while (i < os.getChildCount())
       {
-        node.setAttribute(ATTRIBUTE_VALUE, "false");
+        SpecificationNode node = os.getChild(i);
+        if (node.getType().equals(NODE_KEEPMETADATA))
+          os.removeChild(i);
+        else
+          i++;
       }
+
+      // Gather the keep all metadata parameter to be the last one
+      SpecificationNode node = new SpecificationNode(NODE_FILTEREMPTY);
+      node.setAttribute(ATTRIBUTE_VALUE, filterEmpty);
       // Add the new keepallmetadata config parameter 
       os.addChild(os.getChildCount(), node);
     }
@@ -371,6 +465,7 @@ public class ForcedMetadataConnector ext
     // Prep for field mappings
     List<Map<String,String>> fieldMappings = new ArrayList<Map<String,String>>();
     String keepAllMetadataValue = "true";
+    String filterEmptyValue = "false";
     for (int i = 0; i < os.getChildCount(); i++)
     {
       SpecificationNode sn = os.getChild(i);
@@ -395,9 +490,14 @@ public class ForcedMetadataConnector ext
       {
         keepAllMetadataValue = sn.getAttributeValue(ATTRIBUTE_VALUE);
       }
+      else if (sn.getType().equals(NODE_FILTEREMPTY))
+      {
+        filterEmptyValue = sn.getAttributeValue(ATTRIBUTE_VALUE);
+      }
     }
     paramMap.put("FIELDMAPPINGS",fieldMappings);
     paramMap.put("KEEPALLMETADATA",keepAllMetadataValue);
+    paramMap.put("FILTEREMPTY",filterEmptyValue);
   }
 
   protected static void fillInForcedMetadataTab(Map<String,Object> paramMap, Specification
os)
@@ -460,16 +560,21 @@ public class ForcedMetadataConnector ext
     
     private final Map<String,String> sourceTargets = new HashMap<String,String>();
     private final boolean keepAllMetadata;
+    private final boolean filterEmpty;
     private final Map<String,Set<String>> parameters = new HashMap<String,Set<String>>();
 
     public SpecPacker(Specification os) {
       boolean keepAllMetadata = true;
+      boolean filterEmpty = false;
       for (int i = 0; i < os.getChildCount(); i++) {
         SpecificationNode sn = os.getChild(i);
         
         if(sn.getType().equals(NODE_KEEPMETADATA)) {
           String value = sn.getAttributeValue(ATTRIBUTE_VALUE);
           keepAllMetadata = Boolean.parseBoolean(value);
+        } else if (sn.getType().equals(NODE_FILTEREMPTY)) {
+          String value = sn.getAttributeValue(ATTRIBUTE_VALUE);
+          filterEmpty = Boolean.parseBoolean(value);
         } else if (sn.getType().equals(NODE_FIELDMAP)) {
           String source = sn.getAttributeValue(ATTRIBUTE_SOURCE);
           String target = sn.getAttributeValue(ATTRIBUTE_TARGET);
@@ -493,6 +598,7 @@ public class ForcedMetadataConnector ext
         }
       }
       this.keepAllMetadata = keepAllMetadata;
+      this.filterEmpty = filterEmpty;
     }
     
     public String toPackedString() {
@@ -549,6 +655,12 @@ public class ForcedMetadataConnector ext
         packList(sb,valueArray,'+');
       }
 
+      // Filter empty
+      if (filterEmpty)
+        sb.append('+');
+      else
+        sb.append('-');
+
       return sb.toString();
     }
     
@@ -560,6 +672,10 @@ public class ForcedMetadataConnector ext
       return keepAllMetadata;
     }
     
+    public boolean filterEmpty() {
+      return filterEmpty;
+    }
+    
     public Iterator<String> getParameterKeys()
     {
       return parameters.keySet().iterator();

Modified: manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/forcedmetadata/common_en_US.properties
URL: http://svn.apache.org/viewvc/manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/forcedmetadata/common_en_US.properties?rev=1630843&r1=1630842&r2=1630843&view=diff
==============================================================================
--- manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/forcedmetadata/common_en_US.properties
(original)
+++ manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/forcedmetadata/common_en_US.properties
Fri Oct 10 12:55:44 2014
@@ -30,6 +30,7 @@ ForcedMetadata.MetadataFieldName=Incomin
 ForcedMetadata.FinalFieldName=Final metadata name
 ForcedMetadata.NoFieldMappingSpecified=No metadata mapping specified
 ForcedMetadata.KeepAllMetadata=Keep all incoming metadata
+ForcedMetadata.FilterEmpty=Remove empty metadata values
 ForcedMetadata.Add=Add
 ForcedMetadata.AddFieldMapping=Add metadata mapping
 ForcedMetadata.Delete=Delete

Modified: manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/forcedmetadata/common_ja_JP.properties
URL: http://svn.apache.org/viewvc/manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/forcedmetadata/common_ja_JP.properties?rev=1630843&r1=1630842&r2=1630843&view=diff
==============================================================================
--- manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/forcedmetadata/common_ja_JP.properties
(original)
+++ manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/forcedmetadata/common_ja_JP.properties
Fri Oct 10 12:55:44 2014
@@ -16,22 +16,23 @@
 ForcedMetadata.ForcedMetadata=Add metadata
 ForcedMetadata.FieldMappingTabName=Move metadata
 
-ForcedMetadata.ForcedMetadataNameMustNotBeNull=Added metadata name must not be null
-ForcedMetadata.ForcedMetadataColon=Added metadata:
-ForcedMetadata.ParameterName=Parameter name
-ForcedMetadata.ParameterValue=Parameter value
-ForcedMetadata.Delete=Delete
-ForcedMetadata.Deleteforcedmetadatanumber=Delete added metadata #
-ForcedMetadata.Add=Add
-ForcedMetadata.Addforcedmetadata=Add metadata item
-ForcedMetadata.NoForcedMetadataSpecified=No added metadata specified
-ForcedMetadata.FieldMappings=Metadata mappings:
-ForcedMetadata.MetadataFieldName=Incoming metadata name
-ForcedMetadata.FinalFieldName=Final metadata name
-ForcedMetadata.NoFieldMappingSpecified=No metadata mapping specified
-ForcedMetadata.KeepAllMetadata=Keep all incoming metadata
-ForcedMetadata.Add=Add
-ForcedMetadata.AddFieldMapping=Add metadata mapping
-ForcedMetadata.Delete=Delete
-ForcedMetadata.DeleteFieldMapping=Delete metadata mapping #
-ForcedMetadata.NoFieldNameSpecified=Please specify a metadata name
+ForcedMetadata.ForcedMetadataNameMustNotBeNull=強制メタデータ名を必ず入力してください
+ForcedMetadata.ForcedMetadataColon=強制メタデータ:
+ForcedMetadata.ParameterName=パラメータ名
+ForcedMetadata.ParameterValue=パラメータ値
+ForcedMetadata.Delete=削除
+ForcedMetadata.Deleteforcedmetadatanumber=強制メタデータを削除
#
+ForcedMetadata.Add=追加
+ForcedMetadata.Addforcedmetadata=強制メタデータを追加してください
+ForcedMetadata.NoForcedMetadataSpecified=強制メタデータを指定してください
+ForcedMetadata.FieldMappings=フィールドマッピング:
+ForcedMetadata.MetadataFieldName=メタデータフィールド名
+ForcedMetadata.FinalFieldName=最後のフィールド名
+ForcedMetadata.NoFieldMappingSpecified=フィールドマッピングを指定してください
+ForcedMetadata.KeepAllMetadata=全メタデータを保存
+ForcedMetadata.FilterEmpty=Remove empty metadata values
+ForcedMetadata.Add=追加
+ForcedMetadata.AddFieldMapping=フィールドマッピングを追加
+ForcedMetadata.Delete=削除
+ForcedMetadata.DeleteFieldMapping=フィールドマッピングを削除
#
+ForcedMetadata.NoFieldNameSpecified=フィールド名を入力してください

Modified: manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/forcedmetadata/common_zh_CN.properties
URL: http://svn.apache.org/viewvc/manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/forcedmetadata/common_zh_CN.properties?rev=1630843&r1=1630842&r2=1630843&view=diff
==============================================================================
--- manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/forcedmetadata/common_zh_CN.properties
(original)
+++ manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/native2ascii/org/apache/manifoldcf/agents/transformation/forcedmetadata/common_zh_CN.properties
Fri Oct 10 12:55:44 2014
@@ -16,22 +16,23 @@
 ForcedMetadata.ForcedMetadata=Add metadata
 ForcedMetadata.FieldMappingTabName=Move metadata
 
-ForcedMetadata.ForcedMetadataNameMustNotBeNull=Added metadata name must not be null
-ForcedMetadata.ForcedMetadataColon=Added metadata:
-ForcedMetadata.ParameterName=Parameter name
-ForcedMetadata.ParameterValue=Parameter value
-ForcedMetadata.Delete=Delete
-ForcedMetadata.Deleteforcedmetadatanumber=Delete added metadata #
-ForcedMetadata.Add=Add
-ForcedMetadata.Addforcedmetadata=Add metadata item
-ForcedMetadata.NoForcedMetadataSpecified=No added metadata specified
-ForcedMetadata.FieldMappings=Metadata mappings:
-ForcedMetadata.MetadataFieldName=Incoming metadata name
-ForcedMetadata.FinalFieldName=Final metadata name
-ForcedMetadata.NoFieldMappingSpecified=No metadata mapping specified
-ForcedMetadata.KeepAllMetadata=Keep all incoming metadata
-ForcedMetadata.Add=Add
-ForcedMetadata.AddFieldMapping=Add metadata mapping
-ForcedMetadata.Delete=Delete
-ForcedMetadata.DeleteFieldMapping=Delete metadata mapping #
-ForcedMetadata.NoFieldNameSpecified=Please specify a metadata name
+ForcedMetadata.ForcedMetadataNameMustNotBeNull=强制性元数据名不能为空
+ForcedMetadata.ForcedMetadataColon=强制性元数据:
+ForcedMetadata.ParameterName=参数名
+ForcedMetadata.ParameterValue=参数值
+ForcedMetadata.Delete=删除
+ForcedMetadata.Deleteforcedmetadatanumber=删除强制性元数据
#
+ForcedMetadata.Add=添加
+ForcedMetadata.Addforcedmetadata=添加强制性元数据
+ForcedMetadata.NoForcedMetadataSpecified=未指定强制性元数据
+ForcedMetadata.FieldMappings=字段映射:
+ForcedMetadata.MetadataFieldName=元数据字段名
+ForcedMetadata.FinalFieldName=最终字段名
+ForcedMetadata.NoFieldMappingSpecified=未指定字段映射
+ForcedMetadata.KeepAllMetadata=保持所有元数据
+ForcedMetadata.FilterEmpty=Remove empty metadata values
+ForcedMetadata.Add=添加
+ForcedMetadata.AddFieldMapping=添加字段映射
+ForcedMetadata.Delete=删除
+ForcedMetadata.DeleteFieldMapping=删除字段映射 #
+ForcedMetadata.NoFieldNameSpecified=请指定字段名

Modified: manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/forcedmetadata/editSpecification_FieldMapping.html
URL: http://svn.apache.org/viewvc/manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/forcedmetadata/editSpecification_FieldMapping.html?rev=1630843&r1=1630842&r2=1630843&view=diff
==============================================================================
--- manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/forcedmetadata/editSpecification_FieldMapping.html
(original)
+++ manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/forcedmetadata/editSpecification_FieldMapping.html
Fri Oct 10 12:55:44 2014
@@ -84,6 +84,7 @@
   <tr>
     <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('ForcedMetadata.KeepAllMetadata'))</nobr></td>
     <td class="value">
+      <input type="hidden" name="s${SEQNUM}_keepallmetadata_present" value="true"/>
   #if($KEEPALLMETADATA == 'true')
        <input type="checkbox" checked="true" name="s${SEQNUM}_keepallmetadata" value="true"/>
   #else
@@ -91,6 +92,19 @@
   #end
     </td>
   </tr>
+
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('ForcedMetadata.FilterEmpty'))</nobr></td>
+    <td class="value">
+      <input type="hidden" name="s${SEQNUM}_filterempty_present" value="true"/>
+  #if($FILTEREMPTY == 'true')
+       <input type="checkbox" checked="true" name="s${SEQNUM}_filterempty" value="true"/>
+  #else
+       <input type="checkbox" name="s${SEQNUM}_filterempty" value="true"/>
+  #end
+    </td>
+  </tr>
+
 </table>
       
 #else
@@ -102,6 +116,9 @@
     #set($fieldcounter = $fieldcounter + 1)
   #end
 <input type="hidden" name="s${SEQNUM}_fieldmapping_count" value="$fieldcounter"/>
-<input type="hidden" name="s${SEQNUM}_keepallmetadata" value="$Encoder.bodyEscape($KEEPALLMETADATA)"/>
+<input type="hidden" name="s${SEQNUM}_keepallmetadata_present" value="true"/>
+<input type="hidden" name="s${SEQNUM}_keepallmetadata" value="$Encoder.bodyEscape($FILTEREMPTY)"/>
+<input type="hidden" name="s${SEQNUM}_filterempty_present" value="true"/>
+<input type="hidden" name="s${SEQNUM}_filterempty" value="$Encoder.bodyEscape($FILTEREMPTY)"/>
 
 #end
\ No newline at end of file

Modified: manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/forcedmetadata/viewSpecification.html
URL: http://svn.apache.org/viewvc/manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/forcedmetadata/viewSpecification.html?rev=1630843&r1=1630842&r2=1630843&view=diff
==============================================================================
--- manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/forcedmetadata/viewSpecification.html
(original)
+++ manifoldcf/branches/dev_1x/connectors/forcedmetadata/connector/src/main/resources/org/apache/manifoldcf/agents/transformation/forcedmetadata/viewSpecification.html
Fri Oct 10 12:55:44 2014
@@ -51,6 +51,10 @@
     <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('ForcedMetadata.KeepAllMetadata'))</nobr></td>
     <td class="value"><nobr>$Encoder.bodyEscape($KEEPALLMETADATA)</nobr></td>
   </tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('ForcedMetadata.FilterEmpty'))</nobr></td>
+    <td class="value"><nobr>$Encoder.bodyEscape($FILTEREMPTY)</nobr></td>
+  </tr>
 
   <tr>
     <td class="separator" colspan="4"><hr/></td>



Mime
View raw message