tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marek Sikl <s...@comin.cz>
Subject Metadata
Date Tue, 06 Jan 2009 09:12:44 GMT
would it be possible to add new method to
/src/main/java/org/apache/tika/metadata/Metadata.java ?

There is a method 'getValues' to get String array value but none to set
one. A method 'add' only extends an existing String array and setting
new multivalue is not very effective.

   * Set metadata name/multivalue. Associate the specified multivalue to
the specified
   * metadata name. If some previous values were associated to this
name, they
   * are removed.
   * @param name
   *          the metadata name.
   * @param value
   *          the metadata multivalue.
  public void setValues(String name, String[] value) {
    metadata.put(name, value);


Marek Sikl

View raw message